fuzzyworld

Branch react · default branch · all branches

Last 67 commits on react

2022-03-2341db8b5Starting to work on remote React game. Initial thought is to properly implement Game subclass that automatically handles the peer connection stuff.Pavel Safronov
2022-03-239d181b0Added React link to index.html, and game rules to the React version.Pavel Safronov
2022-03-23417dc26Initial port of local game to React.Pavel Safronov
2022-03-227ccadf9Added todos.Pavel Safronov
2022-03-22c1cd0c6Waiting for the connections to actually open before showing the UI.Pavel Safronov
2022-03-227ea1cc2Upping gitlab image to node:14, in hopes that this will have the code to do the cleanup.Pavel Safronov
2022-03-22db09721Added browser check for online games, which aren't working in Edge and Safari due to a bug in PeerJs: https://github.com/peers/peerjs/issues/899Pavel Safronov
2022-03-22cf42c5fMerge branch 'refactoring' into 'main'Pavel S
2022-03-2238c7e27Reorganizing stuff. But it looks like this change broke multiplayer features. Sigh.Pavel Safronov
2022-03-22e46456cUsing polyfill for animations and a few other changes, so Safari is now supported.Pavel Safronov
2022-03-2168ac146More readme updates.Pavel Safronov
2022-03-21f4fbe6fCleared up the readme todos.Pavel Safronov
2022-03-215648264Removed snackbar HTML and instead the snackbar is being added automatically. Other changes: - slight refactors - changed a class to an interface - added code to clean up out directory when buildingPavel Safronov
2022-03-21f94ff8fAdded info about GitLab pages.Pavel Safronov
2022-03-2253afb04Merge branch 'multiplayer-scratch' into 'main'Pavel S
2022-03-2263c9d83Merge branch 'main' into 'multiplayer-scratch'Pavel S
2022-03-21b3c7b96Lots of changes: - added debug configs for 3 pages: landing, local game, online game - standardized some styles - prettified pages and added clear instructions - removed all non-class/non-id styles (no more tag-based styles - using modals for reporting terminal conditions, instead of alertsPavel Safronov
2022-03-215805825Starting to think more about the HTML format of the site, so adding a landing page and separate pages for local and remote games. Added the concept of player name, which is distinct from player id. Mostly used for reporting terminal conditions. Altered how the mouse position information is calculated and used. Now a relative (ratio) position is sent to the other peer. Using a test board for this work, will need to undo that before merging to main. Localized all esbuild settings in a single spot, so now only 1 file needs to be updated, and then all build paths will be updated.Pavel Safronov
2022-03-200f7e0e2Update pages link.Pavel Safronov
2022-03-2085ab040Pasta.Pavel Safronov
2022-03-204a581cePages pasta.Pavel Safronov
2022-03-20017ebd3Pages pasta.Pavel Safronov
2022-03-20f2c9406Experimenting with multiple entry points, getting remote play mostly working, trying to get pages working for all branches.Pavel Safronov
2022-03-209e15724Multiplayer mostly working.Pavel Safronov
2022-03-2047dfe48Multiplayer pretty much works.Pavel Safronov
2022-03-18c3c52daMouse position transmission works, but ATM we're always starting anew. Starting to use Prettier.Pavel Safronov
2022-03-177e7f049Starting to transmit mouse positions.Pavel Safronov
2022-03-171e41e9bGot local fully working.Pavel Safronov
2022-03-16c3e44deSlight refactoring.Pavel Safronov
2022-03-164918da4Moved most of the game logic into its own class. Implemented basic online game as an extension of the base game. Seems to work. Next step: add peer support.Pavel Safronov
2022-03-162909d32In-progress code, doesn't compile, etc.Pavel Safronov
2022-03-11cda3e92Starting experimenting with multiplayer.Pavel Safronov
2022-03-0781976d8Add info about deploying to dreamhost.Pavel S
2022-03-05ed1a45fStarting to split out single source file into multiple smaller ones.Pavel Safronov
2022-03-056ef12b2Blinking styles modified.Pavel Safronov
2022-03-043a5743dMore pasta.Pavel Safronov
2022-03-04095d363Forgot to install typescript.Pavel Safronov
2022-03-045fd7147Fix typo.Pavel Safronov
2022-03-04f640419Pasta time.Pavel Safronov
2022-03-049e516e9Testing pages changes.Pavel Safronov
2022-03-05a2ee38eMerge branch 'esbuild' into 'main'Pavel S
2022-03-04fc22272Some esbuild-related changes: - reorganized files/dirs, we now have a public dir and the created bundle goes there - using ts-node for running tools, so the tools can be written in TS - added launch.json configuration that starts the server, then navigates to it with a debug browser - TS debugging seems to work without issues with this setupPavel Safronov
2022-03-04711f34cUsing esbuild to create JS bundle, converted game to TS (probably not entirely, but it's a start).Pavel Safronov
2022-03-04112f91aUpdate readme.mdPavel S
2022-03-01465def4More object refactoring: moved all DOM code into a dom object.Pavel Safronov
2022-03-01f73c95dMinor styling changes: - made buttons look like tiles - added button animationPavel Safronov
2022-03-01550d4a0Fixed bug with undo.Pavel Safronov
2022-03-01019797dMerge branch 'undo-reset' into 'main'Pavel S
2022-03-01e946b6cMore refactoring and getting undo to work.Pavel Safronov
2022-03-01cc5cd84More refactoring to make everything an object and isolate everything.Pavel Safronov
2022-03-018f71d3dReorgs and preparing to implement undo/reset.Pavel Safronov
2022-02-27ac5892eAdded todo list to readme.Pavel Safronov
2022-02-279b517eeA few design updates: - added "template" pieces to html, and these are now being cloned to create the board pieces (no more HTML in the JS!) - parametrized piece sizes in CSS, now there's a single spot for size updates - starting to parametrize the colors, but need to rename players to Player1 and Player2 internallyPavel Safronov
2022-02-2759f47b1Minor change.Pavel Safronov
2022-02-27d30eefdLinks, readme.Pavel Safronov
2022-02-26e6a09edConsole cleanup.Pavel Safronov
2022-02-26ae4d40aTrying a small game size.Pavel Safronov
2022-02-26b4baeb1Formatting, styles, general polish.Pavel Safronov
2022-02-26b9e3c2cMinor styling changes.Pavel Safronov
2022-02-26014c38bGenerating everything on the fly.Pavel Safronov
2022-02-26481788eImproved animation, but winning check isn't done yet.Pavel Safronov
2022-02-26773cf7fLots of changes: - animations - checking for valid movesPavel Safronov
2022-02-266a9630bFix branch name.Pavel Safronov
2022-02-26f67ae8dAdding gitlab pages config.Pavel Safronov
2022-02-26dc31cbfMerge branch 'first-commit' into 'main'Pavel S
2022-02-26dbee555Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already existPavel S
2022-02-260b6fe82Initial commit: - pieces can move anywhere, but basic functionality seems to work - removed sooooo much pastaPavel Safronov