Closed stevenhao closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/downforacross/downforacrosscom/o3q2h5ry9
✅ Preview: https://downforacrosscom-git-fencing-pt-1.downforacross1.vercel.app
This PR is part 1 of https://github.com/downforacross/downforacross.com/pull/145. No real fencing game logic has been written yet, but this sets the stage for it by adding a bunch of scaffolding & doing some refactoring.
src/lib/reducers/gameV2.ts -- a ts version of reducers/game.js
Fencing.tsx -- react entrypoint for all the fencing-related UI
also added a bunch of ts & related scaffolding for GameEvent interface
Part 2 will contain the bulk of the implementation of game logic -- all the reducers for the other game events.