首页 > > 详细

S5001讲解、辅导Java编程设计、讲解Java语言、讲解Programming讲解R语言编程|调试C/C++编程

CS5001 – Object-Oriented Modelling, Design & Programming
Practical 2 – Animal Chess
Due Friday, week 5 – weighting 35%
In this practical, you will be provided with an object-oriented model, and your task will be to implement it in Java. The
model is specified by two things: a UML class diagram showing the required classes, and a suite of tests that define
how your program should behave. The details of implementation are up to you: after creating the classes in Java, you
will need to fill in their methods yourself, and decide on any additional fields, methods, classes etc. that you might
need in order to meet the requirements.
For this practical, you may develop your code in the IDE or text editor of your choice, but you must ensure all your
source code is in a folder named CS5001-p2-animal-chess/src/animalchess, where animalchess
corresponds to the package name required by the specification.
Animal Chess
The game of chess reached Japan from India around one thousand years ago, and over the centuries it developed
rather differently in Japan from the rest of the world. The game’s focus switched towards pieces that move only one
square at a time, and curious innovations arose, including a more complex system of promotions, and the ability to
“drop” a captured piece onto the board with its colour changed. The most popular chess variant in Japan today is
known as Shogi, or The Game of Generals; it has gained popularity over the years, and now has a significant number
of players outside the country.
The subject of this practical is Goro-Goro Dobutsu Shogi (or Purring Animal Chess), a small Shogi variant designed by
professional Shogi player Madoka Kitao, her aim being to introduce children to Shogi. The game is played on a 5×6
board, and features four different animals which all move in different ways, with similarities to pieces found in chess.
CS5001 – Object-Oriented Modelling, Design & Programming
Michael Torpey

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!