Home    LBP Showcase / Reviews / Recommendations    Level Showcase
#1

Tic Tac Toe :D

Archive: 3 posts


Personally I havent been able to find a LittleBigPlanet 2 optimised Tic Tac Toe. All I could find was the laborious drag things around or pull levers and press button LBP1 types.
But now I have finished a very simple Tic Tac Toe level of my own, using the controllinator and holograms.
Enjoy! (I hope) <3
http://lbp.me/v/xnmgys
2011-02-11 05:09:00

Author:
Unknown User


Its nice. But can you please create single player mode? I know that its strange to have a unbeatable AI... but it would be nice adition.
It may sound difficult. But in case of the Tic Tac Toe it really is not. (I was thinking of doing it. But since you have the rest.)

If you want to make it easier for you - let the AL start. Then there are basically just 2 games - that you can programm by simple sequencers or anz other logic.

Here is how the games can go:
O = Oponent
X = Player

1 move - AI will place O into the middle
Then the player has only two moves to be done - corner. Or next to the corner. In fact he can choose 8 squares. But technically its just 2 slots, and the rest is rotated. So for the purposes of the AI, you will alwys place first plaezr move to just two spots. And fastly rotate the game field. So he has a ilusion he placed it to any corner he likes. From the microchip point of wiev - it will be always same corner, but you will rotate whole level to give him ilusion.

So we have firest to move covered.
And then the game can go like this:


.X. .X. .XX OXX OXX OXX
.O. .O. .O. .O. XOO XOO AI Wins
... O.. O.. O.. O.. O.O

or

X.. X.. X.X XOX XOX XOX XOX XOX
.O. .O. .O. .O. .O. .OO XOO XOO and it a tie
... O.. O.. O.. OX. OX. OX. OXX

Basically you will always force him to take some move. If he choose another one - instant loose. Should not be so difficult to implement.
Plus as you can see - enev the 2nd AI move is same in both cases. Making your work even easier.

And you can boast up about unbeatable AI :-D
2011-02-11 11:30:00

Author:
Agarwel
Posts: 207


I know how the games should go to make it unbeatable, or make it beat you, but i cant seem to figure out how to get the game to work with AI on one side :/ Seems thered be a lottttt of wires and OR switches, or else im just not very good at this lol2011-02-13 22:07:00

Author:
Unknown User


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.