Peterson Cheng

Peterson Cheng

A personal website to share my excitement with the world!

  • Blog
  • Work
  • About
  • Music
  • Photography

Connect Four Programming Challenge Pt 3

March 20, 2016 by Peterson Cheng

Continuing from Pt 2 ...

Unfortunately the remainder of this challenge is not so exciting. After part 2, I've actually successfully completed the conditions (simulating game board, placement of pieces, and an optimized victory checking algorithm!)

Well, almost...

Read More
March 20, 2016 /Peterson Cheng
connect4, programming, challenge

Connect Four Programming Challenge Pt 2.

March 20, 2016 by Peterson Cheng in programmming, software design

Continuing from Part 1...

So we've discussed the design decision behind the board, the pieces, and the representation of the board. Let's continue with talking about the algorithmic optimizations for checking the victory condition.  

Read More
March 20, 2016 /Peterson Cheng
connect4, programming, challenge
programmming, software design

Connect Four Programming Challenge Pt. 1

March 20, 2016 by Peterson Cheng in programmming, software design

I recently had a programming challenge for an interview that required me to code a "functional" version of Connect. I explain some of my design decisions here

Read More
March 20, 2016 /Peterson Cheng
connect4, programming, challenge
programmming, software design

Powered by Squarespace