/kings-in-the-corner

An implementation of the 2-4 player card game Kings in the Corner, playable in the terminal and written in Haskell. CSE230 FA22 project.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Kings in the Corner

Developed by Aidan Denlinger, Rohin Garg, Amber Olsen, and Mayank Sharan (Group 42). This is a course project for CSE 230 | Fall 2022 | UCSD.

Background

The rules of Kings in the Corner can be found here, and a video explanation can be found here.

Goals

Our goal is to develop a 2-4 player networked game of “Kings In The Corner” using Haskell. The terminal interface should make it easy to learn the rules, display the controls and start a game. The game should be navigable with the arrow keys and enter button to select cards and piles. It should be easy to start and join a multiplayer game from the menu. If time permits, we will also develop an AI player to allow for single player local play.

Basic UX

  • Welcome screen with toggle options for local / networked, number of players, rules of the game, controls
  • Game screen with cards similar to the solitaire project linked below
  • A completion screen with options to exit or start over

Libraries and references

Tentative Timeline

Task Duration Week
Basic Setup & Design 2 days Week 7
Starter code 2 days Week 7
Testing & Build Setup 2 days Week 8
Local 2 player game 3 days Week 8
Local 2 - 4 player game 2 days Week 9
Networked game 3 days Week 9
AI for local play 3 days Week 10
Bug fixes, completion 2 days Week 10
Demo / Presentation prep 2 days Week 10