Projects

A small selection of projects I’ve done over the years. You can see a more complete listing on my GitHub page.

In addition to working on various projects, I solve problems on Project Euler. At the time of writing, I am 11th in Canada and 1064th worldwide.

Liar’s Dice

Liar’s Dice is a fun dice game. I read some papers about mental poker and realized that Liar’s Dice would be a really easy game to test out some of the ideas about cryptographic trust. I devised a commitment protocol that allows players to play the game and trust the results, without a trusted authority.

View the source code in the Liar’s Dice GitHub repo.

Fortuit

I made Fortuit with neynt at PennApps Winter 2015. Fortuit was inspired by something called overconfidence bias: when we make predictions about the future, we tend to be really optimistic. Fortuit aims to improve prediction-making by letting you track your predictions. This allows you calibrate your predictions and form a more accurate mental model of your mental model of the world.

Try using Fortuit! You can test out the friends feature by adding charles. You can also view the source code in the Fortuit GitHub repo.

Mafia

Mafia is a popular party game. A small number of players are the mafia, and their goal is to eliminate all villagers. The villagers can vote to lynch people, but they risk lynching one of their own number. Some villagers have special powers. When played in real life, a game master is required to faciliate interactions, and they can’t play in the game themselves.

I created a simple, minimalistic web app that takes the place of a game master. There are existing websites that do this, but they overcomplicate things with variations and accounts. Plus, it was a fun way to play with AngularJS and Socket.io.

You can view the source code in the Mafia GitHub repo.

Depnunkei

The computer science club at my high school ran a two-week long idle game challenge. An idle game is a game in which most of your time is spent waiting; a perfect example is Cookie Clicker.

My project was Depnunkei, a stock-trading game written in HTML5 and JavaScript. The stocks are unique and randomly generated each game, and more enter the market as companies go bankrupt.

Try playing Depnunkei and see how much money you can make. You can also view the source code in the Depnunkei GitHub repo.

Condi

Condi was my entry to a casual 7DRL (7-day roguelike) among some friends. Condi features random dungeon generation, randomly generated items with special effects, and absolutely no balance. The dungeons gradually get harder as your character gains levels.

You can view the source code in the Condi GitHub repo.