dotproto / pong-js Goto Github PK
View Code? Open in Web Editor NEWJS implimentation of a Pong game engine
JS implimentation of a Pong game engine
PGAgent.train keeps crying 'Error when checking input' because its expecting a rank 2 tensor representing batches of state history but its getting a rank 1 tensor representing action history instead.
tonight after seeing how well some of the randomly initialized agents played before being trained i think some kind of genetic algorithm / tournament style training could be interesting. A minimal version might work like this:
I've been curious about the performance characteristics of a completely asynchronous code base for a while & a performance-sensitive use case like a game seems like a good opportunity to experiment.
I'd like to create a branch that converts the entire project (or as much of it as possible) to promises & async functions. I suspect this implementation will be slower then a more imperative one but I don't have any hypothesis regarding how much slower.
If you're intersted in taking on one of these issues, please create a new issue
There's currently a bug where simultaniously both up and down for a given player will only take the last input value. When the player releases the 2nd key (with the first key still held) the padel will not move. This violates the user's expectation: a key is still pressed so the padel should resume movement.
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.