How andymwat/ti-84-ce-doom works
TI-84-CE-DooM is a C raycaster game for the TI-84 CE. The documented player workflow is to use calculator keys to move and adjust the view while the game renders a first-person scene, with simple wall collisions. The sampled main module contains level setup, movement, ray/face intersection, screen rendering, and an overhead map; graphics assets and math helpers are separate modules. The README documents controls and features, but the main.c excerpt omits parts of the runtime loop, so unshown call relationships are not inferred.
Main entry points: gfx_group.h Asset Declarations · main.c Wall Renderer · helpers.c Vector and Math Helpers · doomak2.c Gun Sprite Data
Components 14
Game Runtime
- Game Setup
DOOM/src/main.c - Input and Movement
DOOM/src/main.c - Level and Objects
DOOM/src/main.c - Ray Collision
DOOM/src/main.c
Rendering
- Wall Renderer
DOOM/src/main.c - Overhead Map
DOOM/src/main.c - Object Sprites
DOOM/src/main.c
Math Support
- Vector and Math Helpers
DOOM/src/helpers.c - Square Root Table
DOOM/src/lookup_table.h
Graphics Assets
- Asset Declarations
DOOM/src/gfx/gfx_group.h - Gun Sprite Data
DOOM/src/gfx/doomak2.c - Enemy Sprite Data
DOOM/src/gfx/enemy1.c - Color Palette
DOOM/src/gfx/gfx_group.c
Other components
- Calculator Player
Connections 12
- Calculator Player → Input and Movement: presses keys
README.md - Game Setup → Level and Objects: loads level
DOOM/src/main.c - Input and Movement → Ray Collision: checks movement
DOOM/src/main.c - Input and Movement → Vector and Math Helpers: rotates view
DOOM/src/main.c - Wall Renderer → Ray Collision: casts rays
DOOM/src/main.c - Wall Renderer → Vector and Math Helpers: adjusts projection
DOOM/src/main.c - Wall Renderer → Overhead Map: draws map
DOOM/src/main.c - Object Sprites → Ray Collision: checks visibility
DOOM/src/main.c - Game Setup → Asset Declarations: uses sprite definitions
DOOM/src/main.c - Asset Declarations → Gun Sprite Data: declares image data
DOOM/src/gfx/gfx_group.h - Asset Declarations → Enemy Sprite Data: declares image data
DOOM/src/gfx/gfx_group.h - Asset Declarations → Color Palette: declares palette
DOOM/src/gfx/gfx_group.h