Mancala Team Report

AI Framework
Mancala Team Report
Daniel Cooper
Kevin Manning
Adam Parker
Viet Huynh
November 30, 2007
AI Framework: Mancala Team Report
Page 2 of 7
Table of Contents
Vision………………………………………………………………………………………...
3
Specifications………………………………………………………………………………..
3
Architecture
Diagram…………………………………………………………………………………... 3
Explanation……………………………………………………………………………….
3
Semester Plan
Phase One………………………………………………………………………………… 4
Phase Two………………………………………………………………………………...
5
Phase Three……………………………………………………………………………….
6
Summary of Progress
AI Caffeine Framework • http://web.umr.edu/~cafene
7
AI Framework: Mancala Team Report
Page 3 of 7
Vision
Team One’s vision is to:
 Fix all algorithm errors in the Mancala module
 Ensure the new Mancala GUI works with the Mancala module
 Ensure Mancala is cross platform compatible for Linux and Windows.
 Cross platform for Linux and Windows
Specifications




Must be well documented to standard
Coding Implemented by October 22, 2007
Documentation by November 1, 2007
Ensure that Mancala works in single and multiplayer on IT machines.
Architecture
User
Framework GUI
Diagram:
Board
Module
Framework
Player
Module
Explanation:
The framework keeps track of the different modules and their interactions as shown by the
diagram above from a previous version of this report. The puzzle module defines the rules of the
game, the board module is the GUI of the board, and the player module is used by AI students to
test different algorithms.
AI Caffeine Framework • http://web.umr.edu/~cafene
AI Framework: Mancala Team Report
Page 4 of 7
Semester Plan
Phase One: Planning
Sun
7
14
21
28
Mon
1
8
15
22
29
Tue
2
9
16
23
30
September 2007
Wed
Thu
3
4
10
11
17
18
24
25
31
Fri
5
12
19
26
7 September 2007:
Objective: Install Qt4 and learn how to play Mancala.
Group: Everyone
14 September 2007:
Objective: Familiarize with current documentation.
Group: Everyone
21 September 2007:
Objective: Try to compile current files in svn.
Group: Everyone
28 September 2007:
Objective: Work on presentation.
Group: Everyone
AI Caffeine Framework • http://web.umr.edu/~cafene
Sat
6
13
20
27
AI Framework: Mancala Team Report
Page 5 of 7
Semester Plan
Phase Two: (Implementation)
Sun
7
14
21
28
Mon
1
8
15
22
29
Tue
2
9
16
23
30
October 2007
Wed
3
10
17
24
31
Thu
4
11
18
25
Fri
5
12
19
26
Sat
6
13
20
27
7 October 2007:
Objective: Fix Mancala algorithm with current GUI
 Group Effort: Find the problem
 Group Effort: Fix the problem
14 October 2007:
Objective: Ensure that Mancala works on Linux and Windows and with the new interface
 Manning & Parker: Work on Linux errors
 Huynh: Work with new GUI interface
 Cooper: Start on documentation
21 October 2007:
Objective: Wrap up all loose ends
 Manning & Parker: Make code more readable and commented to standard
 Cooper & Huynh: Finish Documentation
28 October 2007:
Objective: Create deliverables and rehearse presentation
 Manning & Parker: Work on deliverables
 Cooper & Huynh: Work on presentation
Note:
 New GUI will be ready by 9 October 2007
 The added dumping feature for Mancala can be added if algorithm is fixed, new GUI
works, compatible in both Windows and Linux, and completely implemented by the 12
October 2007.
AI Caffeine Framework • http://web.umr.edu/~cafene
AI Framework: Mancala Team Report
Page 6 of 7
Semester Plan
Phase Three: (Testing)
Sun
Mon
Tue
November 2007
Wed
4
11
18
25
5
12
19
26
6
13
20
27
7
14
21
28
Thu
1
8
15
22
29
Fri
2
9
16
23
30
Sat
3
10
17
24
4 November 2007:
Objective: Find as many problems with the AI framework through extensive testing.
 Group Effort: Find the problem
 Group Effort: Document the problem
 Group Effort: Prioritize problems found from most to least importance
7 November 2007:
Objective: Determine from customers what problems they prioritize and what they want done.
 Mark: Determine what problems need fixed
 Cooper: Understand what problems need fixed
16 November 2007:
Objective: Fix two high prioritized problems found.
 Manning & Parker: Fix problem one
 Cooper & Huynh: Fix problem two
23 November 2007:
Objective: Document solutions to problems fixed and problems not fixed.
 Manning & Parker: Document results of working on problem one
 Cooper & Huynh: Document results of working on problem two
 Group Effort: Document other problems found and not originally documented.
27,30 November 2007:
Objective: Create deliverables and rehearse presentation
 Manning & Parker: Work on deliverables
 Cooper & Huynh: Work on presentation
AI Caffeine Framework • http://web.umr.edu/~cafene
AI Framework: Mancala Team Report
Page 7 of 7
Summary of Progress
At the end of the Fall 2007 Semester, team one has accomplished all major goals. The Mancala
algorithm has been fixed, the Mancala board works on both Linux and Windows, and the
Mancala module has been tested.
The major problem for this semester was compiling with Qt. Many errors were found in the first
attempt to compile the original files given. Most of the semester was dedicated in fixing those
issues. The steps to compile Mancala have been documented in the Mancala Build
documentation. The Mancala algorithm errors were minor issues and were easy to fix.
During testing, it was determined that the algorithm was sound but minor problems were found
such as the timers did not work and remnants from the Tic Tac To algorithm were present. Due
to time constraints Travis Service fixed the problems before we had a chance to fix the problem.
Testing also showed that it worked on both Linux and Windows. To make it work on Windows,
IT machines were not used.
The last step of the semester was documentation. The Mancala (Module) Build Document
covers how to run the Mancala module in both Linux and Windows and the Mancala Protocol
Document documents the problems found and their solutions if any.
AI Caffeine Framework • http://web.umr.edu/~cafene