Skip to content

Iteration 2

Andrew Ta edited this page Oct 11, 2019 · 36 revisions

Iteration 2 - UI-Mockup, Controller Interfaces, Cucumber mappings

Introduction

In this iteration, our team implemented

Features Assigned and UI Mockup Creation

As instructed in the documents, the features were distributed equally amongst the team members who created the corresponding UI Mockups using the Pencil UI prototyping tool. You will find the task distribution below and here.

Feature Number Feature Assigned Member
1 Start a new game Vanessa Ifrah
2 Provide or select user name Vanessa Ifrah
3 Set total thinking time Andrew Ta
4 Initialize board Andrew Ta
5 Rotate wall Enan Ashaduzzaman
6 Grab wall Enan Ashaduzzaman
7 Move wall Shuby Mao (Le-Li)
8 Drop wall Shuby Mao (Le-Li)
9 Save position Mitchell Keeley
10 Load position Mitchell Keeley
11 Validate position Sacha Lévy
12 Switch player / Update board Sacha Lévy

Implementation

UI MockUps

Feature 3: Set Total Thinking Time (Andrew Ta) Each user can set the total thinking time at the beginning of the game to ensure that it does not last forever. UI linked to this feature:

  • Each user has two fields to input their time (one for minutes and one for seconds).
  • Users can click the button "Set Time" to confirm their action.
  • Uers then click the button "Start Game" to start playing.

Feature 5: Rotate Wall (Enan Ashaduzzaman)

Rotate wall can only be implemented when the player has grabbed a wall. User interface characteristics linked to this feature:

  • a player can toggle the direction of the wall from horizontal and vertical with the use of a single button.

Feature 6: Grab Wall (Enan Ashaduzzaman)

Grab wall can be implemented as a move when it is the player's turn to move. User interface characteristics linked to this feature:

  • a player can grab a wall with the click of a button in the game.
  • a dialogue box pops up notifying the player that it has grabbed a wall from the stock.
  • the grabbed wall is placed on the board and is highlighted blue to notify the player which wall they can move and rotate.

Feature 7: Move Wall (Le-Li Mao)

Move wall can be implemented only when the player has a wall in his/her hand. User interface characteristics linked to this feature:

  • the move wall can be triggered with the use of the arrow keys on the respective game board side of the player.
  • while the wall is in the hand of the player and being moved, the wall will stay highlighted blue to indicate that the wall still needs to be placed.

Feature 8: Drop Wall (Le-Li Mao)

Drop wall can be implemented once the player has finalized an appropriate location for the placement of his/her wall. User interface characteristics linked to this feature:

  • the drop wall method can be triggered with the use of a single button in the game.
  • while the wall is in the hand of the player, the wall will be highlighted blue. Once the player has dropped the wall in an appropriate location, the wall will not be highlighted indicating that the wall has been placed.

Feature 11: Validate Position (Sacha Lévy)

Validate position is integrated within any move made by a player on the board. User interface characteristics linked to this feature:

  • notifying the player when a forbidden move is attempted by displaying a pop-up dialog box asking the player to make another trial

Feature 12: Switch Player (Sacha Lévy)

Switching player is automatically triggered by a player making a successful move. User interface characteristics linked to this feature:

  • letting the clocks of the players stop and run (clock of the player who just made his move stops and vis-versa)
  • notifying the players of their turn by using a pop-up dialog box
  • shading the command buttons of the player not moving
Clone this wiki locally