Git Product home page Git Product logo

minimax's Introduction

Minimalist 3D game engine in Clojure

In game theory, minimax is a decision rule used to minimize the worst-case potential loss; in other words, a player considers all of the best opponent responses to his strategies, and selects the strategy such that the opponent's best strategy gives a payoff as large as possible.

https://brilliant.org/wiki/minimax/

How to run

Tested only on Apple Silicon system

  • Make sure to replace native packages in deps with the ones matching your platform
  • Compile shaders ./scripts/shaders (shaders code might need changes depending on rendering backend choosen on your platform)
  • Run the sample project ./scripts/start

Features

  • Windowing and input handling
  • GLTF loader
  • Renderer
    • Blinn–Phong shading
    • Shadow maps
  • Scene graph
  • Audio playback
  • Small and incomplete UI system
    • Scroll views
    • Buttons
    • Component system with local state
    • Flexbox layout

minimax's People

Contributors

roman01la avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

minimax's Issues

UI: Component system

Implement UI components system

  • Component declaration
  • Multiple local states

Hooks

  • Effects?
  • Memoization?

Audio: basic audio system

Implement basic audio system

  • Load and add audio sources
  • Play/pause/stop a source
  • Loop a source
  • Remove a source

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.