I know I always blog about coding... but I am going to do it again.
For our last project in my computer science class, we are making a program that evaluates a given hand of playing cards and outputs the different combinations that would be worth something (i.e. pair, full house). Sounds simple, right? The challenge of this projects stems from something called inheritance, which means different aspects of the program reuse code of other parts. While computer scientists are interested in writing programs that work, simplicity and efficiency are also of interest. All of the different ways of evaluating the hand have some things in common. Our job is to be creative and write code that reuses itself as much as possible. I am still looking over and rewriting my code until I get it to be as efficient as possible.
No comments:
Post a Comment