Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: iambaangkok
  • Language: Python
  • Default Branch: master
  • Size: 131 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed 12 months ago
Metadata Files
Readme Citation

README.md

AsteroidsAI

preview of the program

PROJECT LEFT UNFINISHED

I STOPPED DOING THIS

It has taken too long for me to finish. The code was well organized at first but because I'm in a learning process, with time, i didn't know where to put certain methods or how should I encapsulate each class properly. Plus the attempts to get the genetic algorithm working have now turned the code into a pile of spaghetti.

I've decided that ceasing this project is for the better. I've learned a lot. And it's better for me to use those knowledge to build a better project from the ground up.

Thanks to everyone who stayed along with me and my little summer project.

Introduction

So it was 2022's summer break and I was bored. I have decided to start pursueing my goal of becoming a researcher in neural network / deep learning and those stuff. I thought: "hmm...I should try making a neural network project" and there was already a SnakeAI, a TetrisAI so I decided to make this AsteroidsAI.

Specifications

  • The project will be written in python3 with pygame library.
  • I won't be using keras or tensorflow. This will all be coded from ground up.
  • Actions have acceleration and inertia.
  • There will be configurable mutation rate.

Running the Project

  • Clone this repository
  • Run python ./AsteroidAI.py
  • The game now has some functionality stripped away from your typical asteriods game in an attempt to make the game simpler for the genetic algorithm, if you wanna play a fuller version, try checking-out older commits.

Controls

  • Left Ctrl + N = reset game & neural network
  • Left Ctrl + R = reset game
  • Left Ctrl + Q = quit simulator

Neurons

  • Inputs:
    • Distance to closest asteriod in 16 directions
  • Outputs:
    • Left/A - Rotate counter-clockwise
    • Right/D - Rotate clockwise
    • Space - Shoot
    • Up/W - Thrust forward

Notes

  • I'll probably be too lazy and play video games instead.
  • Thanks to Greer Viau for inspiring me. I'll probably learn a lot from your SnakeAI project.

Owner

  • Name: Baangkok Vanijyananda
  • Login: iambaangkok
  • Kind: user
  • Location: Chiangmai, Thailand

computer engineering student, game developer, gamer.

Citation (CITATION.cff)

@misc{Baangkok2022,
  author = {Baangkok Vanijyananda},
  title = {AsteroidsAI},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/iambaangkok/AsteroidsAI}},
  commit = {d1cd4ff01169f6795c3f52a04c5ffe6c8fa4da0a}
}

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1