https://github.com/vkazanov/vlk3d
A little ray casting 3d engine made with the help of ChatGPT
https://github.com/vkazanov/vlk3d
chatgpt raycasting sdl2 wolfenstein-3d
Last synced: 2 months ago
JSON representation
A little ray casting 3d engine made with the help of ChatGPT
- Host: GitHub
- URL: https://github.com/vkazanov/vlk3d
- Owner: vkazanov
- Created: 2023-04-20T13:51:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T13:56:33.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T23:29:28.268Z (3 months ago)
- Topics: chatgpt, raycasting, sdl2, wolfenstein-3d
- Language: C
- Homepage:
- Size: 889 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* A little Ray Casting engine
Having played with ChatGPT a bit I wanted to see if it came make code of considerable
complexity. This is what we came up with together: a ray casting engine Wolfenstein3d
style.Game design as suggested by my daugther, code by myself and ChatGPT, all assets (music,
and sprites) were generated by ChatGPT as well. I'd say that 70% of the code came from the
AI, the rest is just me tweaking and making sure things work together. The secret is to
talk about limited subsets of code at a time and keeping enough info in the context.* The Game
[[file:assets/screenshot.png]]
Mission: cleanup the room by collecting coins and throwing brushes at flies and poo. Use
arrows for movement, space for throwing the brush.* Compilation
Written under and for Linux. So the usual stuff: make sure libSDL family of libraries is
there, as well as GCC:#+begin_src shell
make
./vlk3d # and don't you ask for cartoon before cleaning your room!
#+end_src