Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accidental bot #53

Closed
WilleMahMille opened this issue Jul 30, 2022 · 7 comments
Closed

Accidental bot #53

WilleMahMille opened this issue Jul 30, 2022 · 7 comments
Labels
challenger This issue submits a new challenger

Comments

@WilleMahMille
Copy link

-- IMPORTANT: By submitting this code you agree that your 
-- github username will be saved and shown on this profile

-- All Lua code within this code block will be executed
-- Code outside the onTurn function will only run once
-- If you want any persistent state between turns it might 
-- therefore be good to declare it here

-- This program will just go upwards

function onTurn(context)
    -- This code will run on every turn

    -- context has the following structure
    -- { 
    --    player={x, y, wallCount}, 
    --    opponent={x, y, wallCount}, 
    --    board=[0,0,0,0....] 9x9 long (one-dimensional) list containing tiles
    -- }
    -- Valid tiles are: { 0: Empty, 1: Player_One, 2: Player_two, 3: Wall} 

    -- Valid return types are UP=0, RIGHT=1, DOWN=2, LEFT=3 and wall
    -- Example if we want to place a wall from (1,1) to (1,2) then we would
    -- return "1,1,1,2"
    return "0"
end

function onJump(context)
    -- Valid returns are 0, 1, 2, 3, for more details read the docs
    return "0"
end
@WilleMahMille WilleMahMille added the challenger This issue submits a new challenger label Jul 30, 2022
@Hampfh
Copy link
Owner

Hampfh commented Jul 30, 2022

[THIS MESSAGE IS AUTOMATIC]
User: WilleMahMille
Script-id: 367e1c4b-ff88-40a8-a054-9718470fb7fd
Thanks for submitting!
Your code is being processed...

@Hampfh
Copy link
Owner

Hampfh commented Jul 30, 2022

[THIS MESSAGE IS AUTOMATIC]
[SUCCESS] Opponent: 2b04c102-556f-4522-b0b4-77f531c2f46d
Match
[LOSS] Opponent: 16754832-98d7-4d61-9c5c-b29eabd5e3ec | Match
[ERROR] Opponent: 661deec5-1967-4f0c-82de-69b3b01e47a1
Error:
Invalid move: Tile (4,1) is occupied

Match
[ERROR] Opponent: c0412c19-887b-4762-9fa9-d93aab383d83
Error:
Invalid move: Tile (4,5) is occupied

Match
[ERROR] Opponent: e62c6a3e-3123-4041-ab24-05382f85f23c
Error:
Invalid move: Tile (4,1) is occupied

Match
[ERROR] Opponent: f4e7e93d-fc25-4b64-9068-39506c1d7e9e
Error:
Invalid move: Tile (4,1) is occupied

Match
[LOSS] Opponent: bd8d0156-bd11-4ff9-b13c-b222d4abefa6 | Match
[WIN] Opponent: 0f152710-dcbb-49df-8566-d82afaa2fd67 | Match

@Hampfh
Copy link
Owner

Hampfh commented Jul 30, 2022

[THIS MESSAGE IS AUTOMATIC]
[ERROR] Opponent: 1da0638b-0912-4672-8237-4f5bf502c6b4
Error:
Invalid move: Tile (4,1) is occupied

Match

@Hampfh
Copy link
Owner

Hampfh commented Jul 30, 2022

[THIS MESSAGE IS AUTOMATIC]
[ERROR] Opponent: adbd08b3-8504-4b72-83ae-23b843313692
Error:
Invalid move: Tile (4,1) is occupied

Match

@Hampfh
Copy link
Owner

Hampfh commented Feb 21, 2023

[THIS MESSAGE IS AUTOMATIC]
[WIN] Opponent: fe128b4c-b947-4420-990a-7658f8c2dc48 | Match

@Hampfh
Copy link
Owner

Hampfh commented Feb 27, 2023

[THIS MESSAGE IS AUTOMATIC]
[ERROR] Opponent: e25da2fb-8bc8-4b19-b6af-69c5a64c6af9
Error:
Invalid move: Tile (4,7) is occupied

Match

@Hampfh
Copy link
Owner

Hampfh commented Jun 3, 2023

[THIS MESSAGE IS AUTOMATIC]
[ERROR] Opponent: 6abd680d-558a-4d10-8a94-72ffccfa949c
Error:
Invalid move: Tile (4,8) is occupied

Match

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
challenger This issue submits a new challenger
Projects
None yet
Development

No branches or pull requests

2 participants