Skip to content

jakezegil/ai-cli-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set Up

copy env file over - cp .env.mock .env

-> update the .env with your open ai key

install bun (https://bun.sh)

1) Set up server 2) Generate Game 3) Run Game

bun server.ts
curl "http://localhost:3003/generate?game=your_game"
bun games/your_game.ts

Best games so far:

  • games/hangman_with_random_words_from_the_internet.ts
  • games/number_guesser.ts
  • games/pong.ts

About

a bunch of ai generated cli games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published