Blackjack Conclusion
After lots of trial and error, the results of the game program was successful in that it was a realistic blackjack game. The program produced a win when it was appropriate as well as a loss when over 21 or if the computer won. Problem-solving was done through testing the code many times and fixing the parts that weren’t running properly. The code itself consists of many loops and if/else if statements in order for the program to run without any bugs. A recommendation for future development of this game is to add the card deck figures in right away instead of them showing up at the very end of the game. Another recommendation for future development of the game is to add more complex aspects of the game like splits and allowing the player to chose the value of an Ace when they draw one. A final recommendation would be that the figures for the player’s hand as well as the computer’s hand to be displayed in the same window.
Connect 4 Conclusion
The overall programming process had less to do with programming and more to do with addressing problems within the code and working on the logic of the code. The surest way of addressing problems in the code was through trial and error, which shows that a majority of programming has to be self-taught. As for the game Connect 4 itself, the computer coding was much more difficult than playing the physical game and figuring out who wins. This is surely a result of the way that logic must work for computers. People have visual and social inputs when playing games: they can learn from other players and naturally know the rules and how to recognize patterns, even if they are not told to. Computers, on the other hand, must be told how to recognize patterns and programmed how to learn if they learn at all.
Computer intelligence was the primary sticking point of the development of the game. Not only do computers not have the autonomy to recognize patterns without the skill of a programmer, but they also cannot learn or strategize without the proper program. If more time was allowed for the development of the game, the primary change would be to increase the strategic capabilities of the computer so that it actively tries to prevent the player from winning, instead of being choosing chip placement completely randomly.