Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Vietnamese math chess game - Design pattern study

1.852 visualizaciones

Publicado el

- Using some pattern design to make game

  • Sé el primero en comentar

Vietnamese math chess game - Design pattern study

  1. 1. luongnv89@gmail.com Software Engineering Project VIETNAM MATHEMATICAL CHESSVIETNAM MATHEMATICAL CHESS NGUYEN Van Luong NGUYEN Thi Mai Software engineering and Ambient intelligence
  2. 2. luongnv89@gmail.com Software Engineering Project OutlineOutline ✔ Introduction ✔ Design ✔ Quality
  3. 3. luongnv89@gmail.com Software Engineering Project IntroductionIntroduction ● History ● Rules
  4. 4. luongnv89@gmail.com Software Engineering Project HistoryHistory ● BAY Vu Van – Bac Ninh, Vietnam – Artist, sculptor, writer – 13 years old, can play many kind of chess
  5. 5. luongnv89@gmail.com Software Engineering Project HistoryHistory ● Vietnam mathematical chess – Invented in 1982 – has been licensed as such by Copyright Office of Vietnam in 5-2005.
  6. 6. luongnv89@gmail.com Software Engineering Project RulesRules ● http://cotoan.vnvista. com/rules-en.html ● Board: 9x11 ● Each player: 10 pieces with value from 0-9
  7. 7. luongnv89@gmail.com Software Engineering Project Rules - movementRules - movement ● Move in any direction ● The number of steps of move <= value of piece ● Only move in empty square ● 0 piece cannot move
  8. 8. luongnv89@gmail.com Software Engineering Project Rules - CaptureRules - Capture ● Have two pieces one next to another ● Use value of 2 pieces to make calculation: + - * / % ● Any result of calculation can be used to apply to capture ● If the result of calculation >=10, remove the tens number ● Use a suitable result to make the capture by taking the piece behind to capture opponent's piece
  9. 9. luongnv89@gmail.com Software Engineering Project Rules – Game OverRules – Game Over ● By capture the 0 piece ● By reach the maximum point ● The point that one player gains is calculated by summing the numbers of the opponent's pieces that have been captured ● The maximum point: 45 (8) (6) (8 / 6 = 1)
  10. 10. luongnv89@gmail.com Software Engineering Project DesignDesign ● Code ● Test ● Re-useable
  11. 11. luongnv89@gmail.com Software Engineering Project Code – Game genericCode – Game generic
  12. 12. luongnv89@gmail.com Software Engineering Project Code – Board and GraphicCode – Board and Graphic
  13. 13. luongnv89@gmail.com Software Engineering Project Code – PlayerCode – Player
  14. 14. luongnv89@gmail.com Software Engineering Project Code – Chessman and MoveCode – Chessman and Move
  15. 15. luongnv89@gmail.com Software Engineering Project Code – RulesCode – Rules
  16. 16. luongnv89@gmail.com Software Engineering Project Code – EvaluatorCode – Evaluator
  17. 17. luongnv89@gmail.com Software Engineering Project TestTest
  18. 18. luongnv89@gmail.com Software Engineering Project Re-useableRe-useable
  19. 19. luongnv89@gmail.com Software Engineering Project QualityQuality ● Test coverages ● Metric tool ● InCode Architecture tool ● Documentation
  20. 20. luongnv89@gmail.com Software Engineering Project Eclemma Code CoverageEclemma Code Coverage
  21. 21. luongnv89@gmail.com Software Engineering Project Metric ToolMetric Tool
  22. 22. luongnv89@gmail.com Software Engineering Project InCode Architecture toolInCode Architecture tool
  23. 23. luongnv89@gmail.com Software Engineering Project Documentation - DoxygenDocumentation - Doxygen
  24. 24. luongnv89@gmail.com Software Engineering Project Version controlVersion control ● Git on bitbucket.org
  25. 25. luongnv89@gmail.com Oral presentation skills

×