Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Drawing squares at a coordinate.

Hi,
I'm writing a dos game called 'GO', which has 7x7 squares and you have to put black and white squares at certain point of the board.
I have written the code and done the squares (grids) and all the other stuff.

The only thing I don't know how to implement is drawing at the the user input.
I know how to get the mouse cursor position, but how do I draw a small square at that point where the user clicks? Please someone advice me.

Sign In or Register to comment.