Files
TicTacToe/MVC/__pycache__/printer.cpython-310.pyc

16 lines
3.3 KiB
Plaintext
Raw Normal View History

o
><3E><>dj <00>@sGdd<01>d<01>ZdS)c@sleZdZdd<02>Zdd<04>Zdd<06>Zdd<08>Zd d
<EFBFBD>Zd d <0C>Zd d<0E>Z dd<10>Z
dd<12>Z dd<14>Z dd<16>Z dd<18>ZdS)<1A>PrintercCs<>tddd<03>tdt|<01><01>D]6}t|dkrdn |dkrdn|dkr"d nd
d
d<03>tdt|<01><01>D]}tt|||<00>d
d<03>q.tdd d<03>q dS) Nz 0 1 2<>
)<01>end<6E><00>0<><00>1<><00>2<> <20>)<04>print<6E>range<67>len<65>str)<04>self<6C>ifield<6C>j<>k<>r<00>V/home/paul/School/Programming/Python/Programmierung II/prg-prl-ii-pk-kn/MVC/printer.py<70>
printfields 0<04>zPrinter.printfieldcC<00> td<01>dS)Nz@Your given coordinates are already occupied.
Please Try again.
<EFBFBD>r <00>rrrr<00>occupied <00> zPrinter.occupiedcCr)Nz Next move is being calculated...rrrrr<00>aicalcrzPrinter.aicalccCs td|dd|dd<00>dS)Nz AI moved to <20>rr)r<00> best_moverrr<00>aimoveds zPrinter.aimovedcCs<> ttd|rdnd<04>d|r|n|<03>d<06><05><01>}|ttd<07><01>vrntd<08>q ttd|r,dnd<04>d|r3|n|<03>d <09><05><01>}|ttd<07><01>vrCntd<08>q%||f}|S)
NT<EFBFBD>Player rr<00> (zC), please choose the x (horizontal) coordinates of your next move: <20>z@Please be sure to input a valid number (0-2).
Please try Again.zC), please choose the y (vertical) coordinates of your next move: )<05>int<6E>input<75>listr r )r<00>player1<72> player1_char<61> player2_char<61> next_move_x<5F> next_move_y<5F> next_moverrr<00>
playermoves$ <06><02>  <06><02> zPrinter.playermovecCr)Nz Welcome to Kat&Paul's TicTacToe:rrrrr<00>welcomemessage.rzPrinter.welcomemessagecC<00>td<01>S)NzFAn older savestate has been found. Do you want to continue it? (y/n): <20>r$rrrr<00>checksavestate1<00>zPrinter.checksavestatecCr.)NzEThat was not a valid input. Type y/n if you want to continue or not: r/rrrr<00>invalidsavestate4r1zPrinter.invalidsavestatecCs&td<01>} |dkr dS|dkrdSdS)Nz:Do you want to play against AI or local multiplayer? 1/2: Trrr rr"r/)r<00>inprrr<00>checkai7szPrinter.checkaicCr.)NzZThat was not a valid input. Type 1/2 if you want to play against AI or local multiplayer: r/rrrr<00> invalidaiDr1zPrinter.invalidaicCs*td|rdnd<03>d|r |n|<03>d<05><05>dS)Nr rrr!z) will start playing.r)rr&r'r(rrr<00> startsplayingGs*zPrinter.startsplayingcCsx|dkr |dkr td<02>|dkr|dkrtd<04>|dkr&|dkr&|r&td<05>|dkr6|dkr8|s:td<06>dSdSdSdS)Nrz Its a draw.rz Player 1 won.zAI won.z Player 2 won.r)r<00>ir<00>airrr<00>
endmessageKs  <0C>zPrinter.endmessageN)<0F>__name__<5F>
__module__<EFBFBD> __qualname__rrrrr,r-r0r2r4r5r6r9rrrrrs   rN)rrrrr<00><module>s