Skip to content
Sign upLog in
← Back to Community

how to make ai in java?

Profile icon
MatthewXia

afkbjhafiiafi uhwh;UHheOU'[eu {"A"{ nhAE"A'tgew'[IEihg[''hAA WTR

Voters
Profile icon
MatthewXia
Comments
hotnewtop
Profile icon
EpicGamer007

Try finding an external jar(You probably won't find many though).

I hate to say this but for ai, I suggest python.

Profile icon
mwilki7

Look into the minimax algorithm, there should be many examples that use tic tac toe.

Profile icon
MatthewXia

@mwilki7
my brain cant handle it sry

Profile icon
Coder100

there's a lot of theory to learn.

Profile icon
MatthewXia

@Coder100
do u know any?

Profile icon
Coder100

hm?
Not much

@MatthewXia

Profile icon
Coder100

why do you want to learn AI anyways

@MatthewXia

Profile icon
MatthewXia

@Coder100
ca7use i want to make a tic tac toe bot

Profile icon
MatthewXia

@Coder100
that can learn what the human does and develop strats

Profile icon
Coder100

@MatthewXia
I think using an AI for that is redundant

Profile icon
MatthewXia

@Coder100
wdym redundant

Profile icon
MatthewXia

@Coder100
and cause i know how to build a lot of stuff that requires ai like smart robots

Profile icon
MatthewXia

@Coder100
for the past 4 years i had my friend code it for me but he has pretty bad teaching skill tho so I could never understond

Profile icon
MatthewXia

@Coder100
so i wnat to start simple

Profile icon
SixBeeps

@MatthewXia
AI is incredibly complex, and it takes college-level maths to fully comprehend. If you're unable to understand a much simpler algorithm for you're use case (like Minimax, as mwilki7 brought up) then I'd advise not going there quite yet.

Profile icon
Coder100