ilyaev / godot-snake Goto Github PK
View Code? Open in Web Editor NEWGodot snake
Godot snake
Introduce spice with feature - flash speed. When eaten, multiply speed by 3,5,10. for X amount of time. Add animation before returning to normal state.
Add 'invincible' mode, first [n] seconds after start player's snake is invincible.
Add 'controller' property similar to 'state' with own state machine
Player/opponent snake and related items should in different color or shade
Experiment with different transitions between corner snake parts (rotation, decomposition)
Align camera centered to players's snake, but don't show black borders
Experiment with https://github.com/karpathy/convnetjs and http://cs.stanford.edu/people/karpathy/reinforcejs/ to create sandbox for training ai agents using q-learning technique.
Grass should be almost always with base tile (green) with occasional light-grass tile, probably flipped verticaly
When exit level - show some stats and don't continue to next level before keypress.
When go through walls in invincible mode - snake erase walls from wallmap. need to be fixed
Introduce Hud layer, add score as first widget
Sometimes when current route is completed or unavailable, new route built but snake still use old command.
Design start screen scene
Design game over scene
Create new ai controller which used learned models from godot-snake-ai-trainer to control ai snakes
Need to mark cells where snakes will be spawned. with possible parameter of starting direction.
Introduce correct tile for snake's tail. Should be rotated accordingly.
Try falling from up and stretched jump up a bit with sparks
Player should not be able to wait infinitely before starting
Complete start scene. 'Start' button should start the game.
Introduce fruits configuration. Fruit properties:
It's works very slow on Android. It is possible that it's because of scenes preloading in dynamically created entities. Move all shareable resources preloading to root script.
Right now all snakes move at same speed and speed is set in body(!). Move speed property to snake component. Make sure that different speeds don't breaks event system
What should happen after player's snake eliminated before jump to start? Smooth camera transition to start spot, some additional FX (shaking, flashing, etc).
Create 5 levels
Pathfinding is not optimal. Need to synchronize all snakes movement, build wallmap once, don't add already used pairs to map for astar
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.