This site requires JavaScript, please enable it in your browser!
Greenfoot back
coder123
coder123 wrote ...

2019/6/17

I have a StackOverflow Error

1
2
murderman147 murderman147

2019/6/19

#
https://www.greenfoot.org/scenarios/24246 This is a siickk game btw!
murderman147 murderman147

2019/6/19

#
Cool site
danpost danpost

2019/6/19

#
murderman147 wrote...
https://www.greenfoot.org/scenarios/24246 This is a siickk game btw!
Cool site
@murderman147, there is no need to interupt a discussion for that input. We can clearly see related content on the Activity page. Thank you.
coder123 coder123

2019/6/19

#
what image should I make my win class be set to? currently, there is no image.
coder123 coder123

2019/6/19

#
never mind, I finished the game.
danpost danpost

2019/6/19

#
coder123 wrote...
what image should I make my win class be set to? currently, there is no image.
You could just have some text showing a win:
1
b.setImage(new GreenfootImage("Player "+(sums[i] > 0 ? "X" : "O")+"\nWINS", 48, sums[i] > 0 ? Color.RED : Color.BLUE, new Color(0, 0, 0, 0)));
coder123 coder123

2019/6/20

#
I got my game to work. Thanks for the help anyways!
You need to login to post a reply.
1
2