]> git.cworth.org Git - lmno.games/commit
Add a simple tictactoe game, implemented with React
authorCarl Worth <cworth@cworth.org>
Mon, 25 May 2020 20:37:10 +0000 (13:37 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 26 May 2020 03:53:14 +0000 (20:53 -0700)
commitf0c30f7cd59ecfca24e6a7332910f87a6b2045e6
tree9993ce8a731c81f9e4e807eb7316f211c7f3ee5b
parent265bf0229c5805d5e5823240f6faadd2df902856
Add a simple tictactoe game, implemented with React

This isn't a proper LMNO game, (it's not networked at all), but it's a
starting point for seeing how we might structure a React-based client
(and we can develop this into a proper LMNO game).

In fact, the source code here came directly from the React tutorial
here:

https://reactjs.org/tutorial/tutorial.html

Note that I've not pulled in the 1000+ npm modules that would have
come from using create-react-app as recommended in that tutorial. As
can be seen here, by example, none of them are needed. The only build
tool requireed is something to compile JSX and we've got that working
via the Debian-provided babel packages (as seen in the most recent
commits here).
tictactoe/Makefile [new file with mode: 0644]
tictactoe/index.html [new file with mode: 0644]
tictactoe/tictactoe.css [new file with mode: 0644]
tictactoe/tictactoe.jsx [new file with mode: 0644]