Skip to content

jckdotim/platformer-by-gpt4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Mario-like Game by GPT-4

A simple platformer game inspired by Super Mario, built using HTML, CSS, and JavaScript. GPT-4 based ChatGPT made this within 1 hour.

https://jck.im/platformer-by-gpt4

Features

  • Player movement (left, right, and jump)
  • Goomba-like enemies
  • Jump points for added platforming challenges
  • End goal to complete the stage
  • Game Over and Game Won screens
  • Auto-scrolling camera that follows the player

Installation and Usage

  1. Clone the repository or download the files as a ZIP archive.
git clone https://github.com/jckdotim/platformer-by-gpt4
  1. Open the index.html file in a modern web browser.

  2. Use the arrow keys to move the player left and right, and the spacebar to jump.

  3. Avoid or jump on top of enemies to defeat them.

  4. Reach the end goal to complete the stage.

  5. Press "R" to restart the game if you lose or win.

Notes

This game is a simple demonstration of creating a platformer using HTML, CSS, and JavaScript. It is not meant to be a full-featured game, but rather a starting point for further development and experimentation.

License

This project is open-source and available under the MIT License.