Skip to content

Implementation of Deep Q learning in the classic Snake game

Notifications You must be signed in to change notification settings

chriskein1/DeepQSnake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Q Snake (WIP)

This project will focus on the Deep Q learning implementation using Tensorflow.js in the Snake React app Trevor Garnett and I made!

Screenshot 2024-03-03 at 9 05 20 PM

What we have right now:

  • Fully implemented front-end Snake project
  • Fully implemented simple Q algorithm (needs tweaking)
  • Simple Q-learning Agent does train & improve, want better performance
  • Neural network class using Tensorflow.js

TODO's:

  • Implement primary and target networks to estimate Q values
  • Replay buffer to create batches of data
  • Train the networks
  • Fine-tuning hyperparameters!

See snake_solver from Trevor Garnett for the fully implemented A* algorithm we worked on using VSCode Live Share

About

Implementation of Deep Q learning in the classic Snake game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.7%
  • HTML 4.9%
  • CSS 3.4%