Annulé

Simple Python Project 3

You are asked to implement two functions for a game-playing agent for the Gobblet Gobblers game demonstrated in section 2.

Program your strategies in the indicated functions in that file.

a. A state evaluation function giving a minimax value for a game state (this be used in a game-playing tournament pitting all students’ submissions against each other. )

b. An alpha-beta search procedure Written part: Answer the written questions in Section 4.

1.1 Submission

[YourCustomID].py: This file should include your completed programming work. Please do not alter the other Python files or submit other files.

THE GAME

For this, we are playing a two-player game called “Gobblet Gobblers”. It is a variant of tic-tac-toe (or noughts and crosses) with the addition of sized pieces and the ability to move pieces that are already on the board. Larger pieces can “swallow” and conceal smaller pieces, either the player’s own or the opposing player’s. The smaller pieces remain on the board, under the larger ones, and are revealed if the larger pieces are moved. When computing the three-in-a-row objective, only the largest piece in a square is considered. The game’s complete rules are online and may be viewed at

[login to view URL]

As the game is capable of cycling (repeating states), we introduce a new rule for our implementation: If a repeated state occurs, the game is declared a draw between the two

players. We also adopt the convention that the blue player always moves first and the

orange second.

- You must use Python version 2.7 to complete this project.

- Unzip the file Assignment3.zip. The file contains a directory structure, with base class definitions for a game-playing frame-work in the files [login to view URL], game [login to view URL], and game state.py. Game definitions for Gobblet Gobblers is in gobblet.py. Some sample game players are defined in the files in the players directory.

You are principally interested in the [login to view URL] file in the players/gobblet subdirectory, which defines an incomplete Gobblet Gobblers minimax player. You will complete the definition of this player to allow it to play the game.

- Rename players/gobblet/[login to view URL] so that it follows the directions above. This

is the file you will alter.

- You may run the program with this command from the Windows command line

(assuming the Python executable is in your PATH):

python [login to view URL] gobblet gobblet_simple gobblet_simple

Or, on any UNIX/Mac system’s command line:

./[login to view URL] gobblet gobblet_simple gobblet_simple

The first argument specifies the name of the game.

The second and third arguments to the command specify the player modules (Python

files) to use for the game.

[login to view URL] resides in the same directory as your Gobblet agent and defines a

not-very-smart Gobblet player: It simply selects the first move from the list of successors

generated from the current game state.

You can also use gobblet_human, which allows humans (you for instance!) to play the

game as one or both players. Also you can play against your implemented heuristic once

done using the following command.

./[login to view URL] gobblet gobblet_human YourCustomID

If you want to play first or the following:

./[login to view URL] gobblet YourCustomID gobblet_human

If you want your heuristic plays first.

Execute the following command for more information on running the program.

./[login to view URL] -h

The evaluation function, evaluate(), in your GobbletPlayer class is incomplete. Given a

game state, the function should return a numeric value indicating how “favorable” a

game state is to the MIN and MAX agents. (A value greater than 0 indicates a state

favorable to MAX; less than 0, favorable to MIN; exactly 0, a neutral state with no

advantage for either player.)

Implement the evaluation function to return such a numeric value.

Compétences : Python, Architecture Logicielle, Intelligence Artificielle, AI (Artificial Intelligence) HW/SW

en voir plus : server requirements implement latest version drupal, download project vb6 data base, simple python crawler windows, python projects for practice, intermediate python projects, advanced python code examples, python project structure, python projects list, interesting python projects, python project ideas for beginners, python projects github, change rails version existing project, designing project management data base, upgrade rails version existing project, simple python workflow library, engineering project management data base, project fedex implement, project idea implement software engineer, implement google provisioning concept project, project student data base college management oracle

Concernant l'employeur :
( 21 commentaires ) Giza, Egypt

Nº du projet : #22099555

5 freelance font une offre moyenne de $23 pour ce travail

chunzuo

Hi, I'm Chunzuo. I have rich experience in python game. Please contact with me to discuss more. Regards.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(9 Commentaires)
3.9
cryptxelgame4

Hi, My name is Cristhian an experienced developer, I read all your description and I am so interested in, I would appreciate a lot if we discuss details in [login to view URL] regards

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(10 Commentaires)
3.3
EikerMB

Hi, My name is Eiker MB an experienced developer with mor that 5 years of experiencce, I read all your description and I am so interested in, I would appreciate a lot if we discuss details in [login to view URL] regards

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(1 Évaluation)
0.0
saritekin

Hello I am a computer ml/dl developer. This summer I worked with the Google Brain team on TensorFlow. I know Python well. Contact for details. Thank you!

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
amrindersingh84

Dear concern, I am a full-stack web developer, working with: -Django, Docker, Python, AngularJS 1-8, JS, jQuery. I'm passionate about Front-end and CrossPlatform Development. I have excellent coding skills in Data scr Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0