hesslink111 / neuralnetworknibbles Goto Github PK
View Code? Open in Web Editor NEWOfficial repository for Neural Network Nibbles
License: MIT License
Official repository for Neural Network Nibbles
License: MIT License
The gene pool is now updated based on the best snakes of all generations. The GenePool class allows for snakes to be added and removed at any time during the simulation. This makes it possible for a local game to download and upload the best snakes from and to a server.
The server would need to be capable of receiving snakes to add to its gene pool. Like the local gene pool, the number of snakes stored at any time will be limited. When a new snake is sent to the server, it will evaluate it in a single game to measure or verify its score, and then add it to the pool.
Design and implement a socket-based interface for communicating with a gene pool server with the following capabilities:
Complete documentation for:
Controller
Domain
Service
Util
View
Currently, snakes are added and removed from the gene pool only when a generation's evaluations are complete. When the program is closed, all snakes are lost.
Add util class for saving and loading snake encodings
Modify SnakeListView and SnakeListController so that individual or multiple snakes can be saved from the the gene pool or generation view.
Modify SnakeListView and SnakeListController so that individual or multiple snakes can be loaded into the gene pool view or generation view. For concurrency reasons, it may be necessary to prevent the user from loading a new snake while the game is running (without more complicated changes, like a backlog for the next generation).
If snakes are to be added to a generation, modify any Generation-class dependent code to allow for variable sized generations.
When the step button is pressed in SimulationWindow, the GameController executes a simulation step in the main thread of the program. This makes the UI unresponsive until it completes.
When the start button is pressed in SimulationWindow, the GameController performs a loop using the Tkinter 'after' function. This functionality should not be used as it creates a dependency to the Tkinter UI. This should be replaced with a pause or sleep loop inside a different thread.
The SingleSimController class contains the code to control the SingleSimView. Complete this class so that the user can watch a single game to completion.
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.