blayyyyyk / snake-ml
Training a custom machine learning model to play n-dimensional games of snake using a genetic learning algorithm.
Over time
2023-02-24 to 2025-04-07; peak 857 lines
2023-02-24 to 2025-04-07; 100 commits, counted up by commit date
- Opened 11
- Closed or merged 11
2024-03-06 to 2025-04-01; 11 issues and pull requests opened (0 issues, 11 pull requests), from GitHub by mojo_issues
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| rxc1441/pymo | A framework in Mojo for AI/ML/DL applications and other domains. | 80% |
| Benny-Nottonson/voodoo | A working machine learning framework in pure Mojo 🔥 | 79% |
| yetalit/Terminal-SnakeGame | Terminal snake game from scratch (without 3rd party libraries) in mojo and a bit of C | 79% |
| nichtnichtjemand/bytefish | A chess engine, written in Mojo. | 77% |
| itsdevcoffee/mojo-visage | Foundational ML/AI library in Mojo for building neural networks and training pipelines from the ground up | 77% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
3 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2024-04-24 | v0.1.0 | – | git tag | – | d1e7ff7b10 |
| 2024-04-24 | v0.1.0-alpha | – | git tag | – | d1e7ff7b10 |
Issues and pull requests
0 open and 0 closed issues; 0 open, 10 merged and 1 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 11 | Feature/inputnorm | 2025-04-01 | merged | 1 |
| 10 | Feature/edge browserless | 2025-03-17 | merged | 1 |
| 9 | Web | 2024-12-23 | merged | 1 |
| 8 | Patch 4 | 2024-05-02 | merged | 0 |
| 7 | Patch # | 2024-05-01 | merged | 0 |
| 6 | contributing markdown file created from template | 2024-04-24 | merged | 0 |
| 5 | Patch 2 | 2024-04-24 | merged | 0 |
| 4 | Patch 2 | 2024-04-24 | closed | 0 |
| 3 | Patch 1 | 2024-04-17 | merged | 0 |
| 2 | switched to pytorch tensors since mojo tensors bad | 2024-03-07 | merged | 0 |
Migrations
No change of Mojo version or tooling between the commits read so far.
Commits
Commit types: Feature 19% · Fix 2% · Migration 4% · Refactor 10% · Performance 1% · Docs 4% · Tests 5% · Build and chores 13% · Merge 9% · Other 33%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2025-04-07 | 6b7393c728 | Build and chores | safe model restoration feature and main menu addition | 0 | none | – |
| 2025-04-01 | baaa7964f5 | Merge | Merge pull request #11 from gg-blake/feature/inputnorm | 0 | none | – |
| 2025-03-17 | 1d52df9941 | Merge | Merge pull request #10 from gg-blake/feature/edge-browserless | 0 | none | – |
| 2025-03-09 | 45c6c93891 | Feature | new fitness function | 0 | none | – |
| 2025-03-09 | a071096f3b | Build and chores | bound box projections visualization complete | 0 | none | – |
| 2025-03-03 | 9ca6bad73e | Feature | added tweakpane types to dev dependencies | 0 | none | – |
| 2025-03-03 | cb073b4640 | Refactor | moved all next js app files to parent project folder | 0 | none | – |
| 2025-03-03 | 6f7e4f8695 | Fix | fix tweakpane 1 | 0 | none | – |
| 2025-03-03 | 6aaf35598e | Other | reimplemented tweakpane into client model and performance improvements | 0 | none | – |
| 2025-03-02 | 6de0ee93b3 | Build and chores | vercel dependency conflict 4 | 0 | none | – |
| 2025-03-02 | 825c2803df | Build and chores | vercel dependency conflict fix 3 | 0 | none | – |
| 2025-03-02 | 058138b0bb | Build and chores | vercel dependency conflict fix 2 | 0 | none | – |
| 2025-03-02 | d4fca0bd17 | Other | vercel dependency conflict fix 1 | 0 | none | – |
| 2025-03-02 | bcaa5b0bd3 | Build and chores | finished version 1 of renderer | 0 | none | – |
| 2025-02-24 | 7a2f532636 | Feature | implemented snake history into v2 | 0 | none | – |
| 2025-02-23 | 30272e4b55 | Performance | optimized DE training algorithm | 0 | none | – |
| 2025-02-18 | 67a101aea6 | Build and chores | performance improvements | 0 | none | – |
| 2025-02-18 | 9f63e58842 | Build and chores | still debugging the rendering | 0 | none | – |
| 2025-02-17 | 2473d040bb | Build and chores | finally implemented correct bounds touching logic | 0 | none | – |
| 2025-02-17 | dbb7291e22 | Feature | Add native client component to virtual DOM | 0 | none | – |
| 2025-02-17 | 5a8a78fd31 | Build and chores | reorganizing for efficiency | 0 | none | – |
| 2025-02-17 | 3b748b8c35 | Migration | deprecated files | 0 | none | – |
| 2025-02-16 | 735472c897 | Migration | deprecated file | 0 | none | – |
| 2025-02-16 | 2fbcbd4d54 | Tests | uncommented for debug purposes | 0 | none | – |
| 2025-02-16 | 3e880a5383 | Other | contains all existing types for stream.tsx | 0 | none | – |
| 2025-02-16 | 60ddec094f | Other | made new copy of stream.tsx to integrate native tf model | 0 | none | – |
| 2025-02-16 | 2f377e07b3 | Refactor | moved tweakpane custom types to seperate file | 0 | none | – |
| 2025-02-16 | d23620c434 | Other | debugging typescript locally | 0 | none | – |
| 2025-02-16 | d8f46c23d3 | Other | rewrite code prototype complete, awaiting debug | 0 | none | – |
| 2025-02-11 | ba00d39639 | Feature | added part of the snake game operations | 0 | none | – |
| 2025-02-10 | 6d5a027619 | Other | start rewrite of pytorch model in tensorflow js | 0 | none | – |
| 2024-12-23 | f68f688558 | Docs | Update README.md | 0 | none | – |
| 2024-12-23 | fc3a60bec1 | Merge | Merge pull request #9 from gg-blake/web | 0 | none | – |
| 2024-09-20 | bfb8152d4e | Other +docs | next app front end and python websocket backend | 0 | none | – |
| 2024-05-12 | e25a323c9b | Refactor +docs | change anypointer to unsafe pointer | 857 | none | – |
| 2024-05-07 | 0cdc853abf | Other | adjustments to fitness counter | 856 | none | – |
| 2024-05-02 | 6f95636196 | Refactor | increased ttl and removed food distance fitness calculation | 851 | none | – |
| 2024-05-02 | abef382f40 | Other | aliases renamed, moved to population file | 833 | none | – |
| 2024-05-02 | 275eb08d7f | Docs | Update README.md | 838 | none | – |
| 2024-05-02 | ef278c42dc | Merge +docs | Merge pull request #8 from gg-blake/patch_4 | 838 | none | – |
| 2024-05-01 | 866c2c95f6 | Merge | Merge pull request #7 from gg-blake/patch_# | 720 | none | – |
| 2024-04-30 | be204357a9 | Refactor | removed special treatment of snakes above survival thresh | 824 | none | – |
| 2024-04-30 | 92aca9e225 | Other | big big big snake learning! | 833 | none | – |
| 2024-04-24 | 6a2f80c8b6 | Docs | Update README.md | 824 | none | – |
| 2024-04-24 | 007d8c4576 | Merge | Merge pull request #6 from gg-blake/mojo | 824 | none | – |
| 2024-04-24 | d309a09a63 | Docs | Update README.md | 824 | none | – |
| 2024-04-24 | d1e7ff7b10 | Other | draw fitness score as text next to snake every frame | 824 | none | – |
| 2024-04-24 | 3e6be4e8b6 | Refactor | moved some unit test functionality here | 796 | none | – |
| 2024-04-24 | 9b8f9afb38 | Other | reduce snake count and reorganize unit test | 781 | none | – |
| 2024-04-24 | fd01e08d7e | Refactor | logger will logs screen clears | 800 | none | – |
The latest 50 of 100 commits; all of them are in the JSON.