glguy / ninjas Goto Github PK
View Code? Open in Web Editor NEWHaskell game where multiple players attempt to blend in with computer controlled characters while being first to visit the key locations on the board.
Haskell game where multiple players attempt to blend in with computer controlled characters while being first to visit the key locations on the board.
I'm building bot support and DSL to help teach my nieces, nephews, and daughters to program. I'd like to make sure what I build can get upstream.
Add "Ninjas bot" support via a module Bot.hs. This module includes "runBot" which either uses a default bot or loads some bytecode from a file specified at runtime.
Define a turning-complete byte code. No strong ideas here yet, but basic operations of Move, Attack, Smoke, and GetWorld would be included.
Define a language 'Ninja'. This could be a "typical" DSL that includes the primitives and helper functions in the style of:
distanceTo :: World -> Entity -> Int -- returns the distance to the taget
followBeizer :: World -> Entity -> Command -- returns a Move command
Or it could be a more restrictive language that takes a set of conditions for attacking, moving, and smoking. In this case the possible "conditions" and their logical connectives would be part of the language.
Make a stand-alone compiler, shipped with Ninjas, that compiles Ninja to NBC - Ninja to Ninja bytecode. Also, write tutorials.
Parameterize the step rate in the server to allow faster game play for tournaments or faster evolution of Ninjas (given a genetic algorithm).
Add a server parameter that will identify the clients' Ninja, allowing easier development.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.