Some of my (public) repositories:
games I've developed (tested on Chrome — should be played with sound for best experience)
- Using React:
- Catch the Lion (click to play)
Note: I recently released minmax-wt-alpha-beta-pruning which is a much improved, generic (can be used with any game) implementation
of the minmax algorithm that employs the alpha-beta pruning optimization. In contrast, the
AI library for this game does not perform alpha-beta pruning and, most importantly, does not cleanly
separate the minmax algorithm from the game rules and game state evaluation logic that's specific
to this game. It also fails to quickly recognize victory end states and foolishly waits until all
other game tree leaf nodes are evaluated (the alpha-beta optimization addresses that, among other things).
Future games will be based on my new minmax library.
- Stacks of grain piling and tumbling
- Tetris game (click to play)
- Minesweeper game (click to play)
- Using the Canvas API:
other JS stuff
What follows is a motley crew collection of TILs and notes I've added
over the years and posted here for the benefit of my future self (and, as such, unlikely to be useful to anyone else).
HEALTH WARNING: Content below the red line is basically my scratchpad (i.e. uncurated and rotting).
Relational Databases and SQL
stuff that's not vendor specific: