University | Massey University (MU) |
Subject | 159.270 Hardware-Oriented Computing |
159.270 Hardware-Oriented Computing
Project 1: Game Development
Instructions: Develop a computer player for a 4×4 checker game
Game rules:
– The starting position is as shown above
– In their turn, a player may move a piece 1 step diagonally forward (eg. B1-A2, or A4-B3)
– A piece may jump a single opponent’s piece into a vacant square on the other side (eg if there was a red piece at C2, then green could play B1-D3 or D1-B3). Any jumped pieces are captured and removed from the board.
– When a piece reaches the far end (green reaches row 4 or red reaches row 1), it becomes a King, and is allowed to move 1 step diagonally in any direction, either forwards or backwards.
– A player loses the game if they cannot make a legal move. Either their pieces are blocked, or all of their pieces have been captured.
– The game is a draw when both players have made 20 moves each (40 moves total).
This will require you to:
– Implement the gameplay. This is best implemented as a class that represents the game state, with a method for playing a move.
– For a given position, generate a list of possible moves.
– Represent at least three turns of play using a tree structure.
– Write an evaluation function to estimate the strength of a position at each of the leaf nodes of the tree. The evaluation function should not be random but may include a small random component.
– Use a search algorithm to find the best move for the current position.
– Create a minimal graphic interface allowing a user to play against the computer opponent. This can be text-based graphics on a console window.
Buy Custom Assignment & Homework Solutions
Pay to NZ Native Writers | Cheap Cost & Plag Free
Get the university assignment help to finish your 159.270: Hardware-Oriented Computing assignment. Our specialists have years of experience in writing the best solution on computer science assignments. They are familiar wi almost all formatting styles of paper including APA, MLA, Harvard, Chicago, Oxford, and others. Besides this, we are a renowned homework help provider all over the globe.

- HLWB511 WHS Safety Proposal Assignment 1: Second Escape Ladder Installation at Pike River Mine for Emergency Preparedness
- EC531 Becoming a Professional Early Childhood Teacher Assignment: Reflection, Te Whāriki & Teaching Qualities for NZTC Students
- AI Adoption in NZ SMEs Assignment: Methodology Chapter for Food & Machinery Manufacturing Sectors
- Leadership and Management Assignment: Critical Summary of 5 Key Theories in Sri Lankan Healthcare Practice
- Family Counselling Assignment 2: Systemic-Strategic vs Structural Therapy Comparison
- Research Methods Assignment 1: Homesickness & Mental Wellbeing Case Study of International Students in New Zealand
- Nursing 742 RCT-Based Assignment 1: Flixotide Intervention for Asthma Management in New Zealand Children
- BSES5.007 Individual Exercise Programme: Client-Centered 4-Week Fitness Plan
- ADMG554 Effective Business Communication Assignment: Workplace Scenarios, Listening Skills & The 7 C’s Analysis
- Trauma Definitions Critique Assignment 2: Socio-Historical, Biophysiological, and Neurobiological Impacts on Communities