http://wiki.math.bme.hu/history/Informatics2-2019/HW5?feed=atom&Informatics2-2019/HW5 - Laptörténet2024-03-29T15:25:22ZAz oldal laptörténete a wikibenMediaWiki 1.18.1http://wiki.math.bme.hu/index.php?title=Informatics2-2019/HW5&diff=13905&oldid=prevGaebor: Új oldal, tartalma: „= Chess = Implement the chess game described in Lab 08. == Points == The perfect solution is 6 points, you can get partial points fo…”2019-04-09T21:00:03Z<p>Új oldal, tartalma: „= Chess = Implement the chess game described in <a href="/view/Informatics2-2019/Lab08#Chess" title="Informatics2-2019/Lab08">Lab 08</a>. == Points == The perfect solution is 6 points, you can get partial points fo…”</p>
<p><b>Új lap</b></p><div>= Chess =<br />
<br />
Implement the chess game described in [[Informatics2-2019/Lab08#Chess|Lab 08]].<br />
<br />
== Points ==<br />
The perfect solution is 6 points, you can get partial points for:<br />
<br />
# Have a Piece and Board class. Each piece (Pawn, Rook, Knight ...) should inherit from Piece.<br />
# The pieces should be able to move according to [https://www.chess.com/learn-how-to-play-chess their own rules].<br />
# The pieces should not step on a position which is occupied by the same color. If a piece moves to a position occupied by the opponent's color, then the opponent's piece should be captured and removed from play.<br />
# The program should ask the users for the moves and execute the appropriate moves.<br />
# Start the game by the initial setup and end the game when a king is removed.<br />
# First try a simplified version:<br />
#* with only two type of pieces: pawn and king.<br />
#* the pawn should move only forward one step.<br />
#* The program is done when you implemented all the possible moves and only the allowed moves.<br />
#* you don't have to implement [https://en.wikipedia.org/wiki/Castling castling].<br />
<br />
== Handing in==<br />
Send the final program as a <tt>.py</tt> file to the following address.<br />
<br />
info1hazi@gmail.com<br />
<br />
Use your math account, not gmail or other email. The subject of the letter should be:<br />
<br />
EN1_HW5_<username> <br />
<br />
For me it would be: '''EN0_HW5_borbely'''.<br />
The attached file should have the same name with a <tt>.py</tt> extension.<br />
<br />
== Deadline ==<br />
<br />
'''2019.05.17. 23:59'''</div>Gaebor