Giter VIP home page Giter VIP logo

snake-with-gpt4's Introduction

Title Screen

Snake Game Created with ChatGPT-4

Message from ChatGPT

This code provides a basic snake game with a simple retro style. You can run the code, and it will display a snake game window with a white background, a green snake, and red food. Use the arrow keys to control the snake. If you want to modify the game's appearance or behavior further, you can do so by changing the constants, colors, or other parts of the code.

Some ideas for expanding the game or enhancing its retro style:

  1. Add a score display that shows the player's current score, which could be based on the snake's length.
  2. Add a game over screen with the option to restart the game.
  3. Implement different levels of difficulty, such as faster snake movement or additional obstacles.
  4. Add sounds or music to create a more immersive experience.
  5. Create a retro-style pixel art for the snake, food, and background.
  6. Customize the game window's appearance, such as adding a retro border or using a pixelated font.

Feel free to experiment and modify the code as needed to create the snake game you envision.

How to Play:

  1. Download repo
  2. Open "dist" folder
  3. Run Snake application file

Game Guide:

  1. Click any key to get past the title screen.
  2. Select a theme.
  3. Select a difficulty.
  4. Play.
  • Press Esc at anytime to quit.
  1. Game Over.
  • Give your score a name (only first three characters are saved).
  • Press q to Quit and r to play again.
  • Press high scores button to see the leader board.
  • Press Esc to go back to the Game Over screen.
  • Press chnage theme or change difficulty buttons to modify the game.
  • Then press r to restart with your chosen settings.
  1. Repeat.

snake-with-gpt4's People

Contributors

dylantypo avatar

Stargazers

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa avatar

Watchers

Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.