Skip to content

ClarityCoders/Fall-Guys-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python / FastAI CNN - Playing Fall Guys

This code was used to gather and process data while playing the game Fall Guys. The network was then trained using the FastAI Libary.

Setup

  • I used dual monitors with a game playing at a 800 X 600 resolution on one screen.
  • You can start data collection by running CreateData.py
  • Pressing B will start the screen / key grab. These will be stored in lists until the episode is done.
  • Once the episode ( Round ) ends pressing h will stop the screen / key grab process and all data will be moved to a numpy array.
  • Then I used a script in util folder called CreateImages.py to put then onto a disk drive in folders corresponding to their actions.

Train

  • Use the file called training.py
  • Point it at your image directory

Run Agents

  • Fully random agent is RandomAgent.py
  • Trained Agent is TrainedAgent.py
  • You will have to load in the pkl created from training.

Inputs (Observations)

  • Uses inputs to the nural network (Observations) of pixes in the game.
  • 224 X 224
  • Line detection

Contact!

Releases

No releases published

Packages

No packages published

Languages