Find Jobs
Hire Freelancers

need java expert in a urgent project now

₹750-1250 INR / hour

Completed
Posted over 6 years ago

₹750-1250 INR / hour

The game known in this project as Connect Three is a variant of Connect Four in which a player wins by matching 3 of their pieces in a line (rather than 4) on board that is 5 rows by 4 columns (rather than 6 rows by 7 columns). Player X always goes first, resulting in first player advantage for Player X due to the particular parameters of this variant of the game. You are given two files that form a partially working implementation of the Connect Three game. The abstract class ConnectThree provides the GUI, most of the logic except for win detection, and several artificial intelligences (AI’s) for playing the game. You can’t make any changes to the ConnectThree class, and it can’t be executed. The concrete class Sample provides partial win detection in an inefficient way and a mediocre AI. It also provides the main You must implement complete win detection in an efficient fashion including all possible vertical, horizontal, and diagonal wins. The sample win detection you are given is inefficient and only detects vertical wins. Until you implement complete win detection, it will be nearly impossible to develop and test any reasonable AI. After completing win detection, you can create one or more AI’s to play the game. There are three built-in AI’s included in the abstract class and one included in the sample concrete class. These AI’s and any others you implement in your own concrete class can be selected independently for each of Player X and Player O using the drop-down menus at the bottom of the GUI. The Random AI plays randomly with no strategy. The Naive AI will try to win in the current turn if it can, or else it will try to prevent its opponent from winning in the next turn if it can, or else it will play randomly without any strategy for future turns. The Human AI is a pseudo-AI which never makes a decision, forcing a human player to make its decisions. The Lefty AI always plays in the leftmost available column. You can remove this AI in your own implementation. It is only provided to show you how to implement an AI and register it in the drop-down menus.
Project ID: 15751371

About the project

6 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I have done a lot of projects in java. I am quite good in developing programming logic. I am sure I can do the given task.
₹750 INR in 40 days
5.0 (49 reviews)
5.2
5.2
6 freelancers are bidding on average ₹954 INR/hour for this job
User Avatar
Hi, i provide free support for two weeks after project is completed, it includes any bug fixes, new additional requirements of small-medium size. I am the certified java professional with 10+ years industry experience in java, j2ee , software architecture, android.
₹750 INR in 40 days
4.7 (2 reviews)
1.9
1.9

About the client

Flag of INDIA
Bangalore, India
4.8
228
Payment method verified
Member since Jan 29, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.