Skip to content

XieJia15/UCB-pacman-AI-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UCB-pacman-AI-projects

My solution for UC Berkeley AI projects pacman. With autograder, it can get full marks.

Each folder is a Pycharm project that can be opened with Pycham.

search0103

Provisional grades
Question q1: 3/3
Question q2: 3/3
Question q3: 3/3
Question q4: 3/3
Question q5: 3/3
Question q6: 3/3
Question q7: 5/4
Question q8: 3/3
Total: 26/25

muliagent3

Question q5
Pacman emerges victorious! Score: 1348
Pacman emerges victorious! Score: 1354
Pacman emerges victorious! Score: 1257
Pacman emerges victorious! Score: 1337
Pacman emerges victorious! Score: 1217
Pacman emerges victorious! Score: 1298
Pacman emerges victorious! Score: 1278
Pacman emerges victorious! Score: 1046
Pacman emerges victorious! Score: 1341
Pacman emerges victorious! Score: 1131
Average Score: 1260.7
Scores:        1348.0, 1354.0, 1257.0, 1337.0, 1217.0, 1298.0, 1278.0, 1046.0, 1341.0, 1131.0
Win Rate:      10/10 (1.00)
Record:        Win, Win, Win, Win, Win, Win, Win, Win, Win, Win
*** PASS: test_cases\q5\grade-agent.test (6 of 6 points)
***     1260.7 average score (2 of 2 points)
***         Grading scheme:
***          < 500:  0 points
***         >= 500:  1 points
***         >= 1000:  2 points
***     10 games not timed out (1 of 1 points)
***         Grading scheme:
***          < 0:  fail
***         >= 0:  0 points
***         >= 10:  1 points
***     10 wins (3 of 3 points)
***         Grading scheme:
***          < 1:  fail
***         >= 1:  1 points
***         >= 5:  2 points
***         >= 10:  3 points
Question q5: 6/6

minicontest1_test

running game 71 / 71, layouts\test9.lay
Pacman emerges victorious! Score: 2159
Average Score: 2159.462121200507
Scores:        2159.462121200507
Win Rate:      1/1 (1.00)
Record:        Win
Final score:  1183.6726140411768

minicontest2

Against the baselineteam, my team can score 6 points.

Red team baselineTeam with {}:
Loading Team: baselineTeam.py
Arguments: {}

Blue team myTeam_xj with {}:
Loading Team: myTeam_xj.py
Arguments: {}
Red team starts
Time is up.
The Blue team wins by 6 points.

About

my solution for UC Berkeley AI projects pacman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages