Skip to content

Instantly share code, notes, and snippets.

View chronologos's full-sized avatar

Ian Tay chronologos

View GitHub Profile
from abc import ABC, abstractmethod
from enum import Enum
from typing import List, Union, Dict, Tuple
import Math
class Color(Enum):
WHITE = 1
BLACK = 2
{"lastUpload":"2021-03-23T02:05:49.177Z","extensionVersion":"v3.4.3"}
@chronologos
chronologos / control.go
Last active December 8, 2019 22:08
koppel-week5
package control
// Read from stdin and write to a board.
func Act(b board.Board, f *os.File) error {}
func nuke(b board.Board, coords *board.Coordinates) error {
// Check if cell is unrevealed.
// If cell has mine, toggle it to not having a mine.
// game loop in main function needs to re-render board.
}
@chronologos
chronologos / README.md
Created October 3, 2019 04:55
koppel-week3

All work for week 3 of the course.

@chronologos
chronologos / README.md
Last active September 26, 2019 23:10
koppel-week2

Week 2 of James Koppel's Advanced Software Engineering Course.

Feature request round 1:

  • Assigning more statuses to todo items (e.g.: in-progress, under review, blocked)
  • Assign priorities to todo items
  • Make sure your new design makes it easy to filter and display to-do items in whatever way the user may reasonably expect.

Second round of feature requests

  • Support a notion of users, where each user has a list of friends and a single todo list. Extend your design to support an "accountability" feature, where users can allow friends to view their todo list and progress. Make sure to allow users to mark some todo items as "private." If a todo item is "private," then no-one may view it or be given any information that it exists.
  • Make sure to explain how the user interface for viewing a friend's to-do list would work, and in particular how it may reuse code from your normal user interface.

Keybase proof

I hereby claim:

  • I am chronologos on github.
  • I am iantay (https://keybase.io/iantay) on keybase.
  • I have a public key ASDJgor1m-5szWuji8tnU09bnjTE03ChWOk91dJZPcAOCAo

To claim this, I am signing this object: