Hello everybody I am new here and to C++ coding, i know all the basics so i decided it would be fun to just write a fun Ascii game.
here is my idea for the game:
so i am making the game so it draws X's (enemys) all over the screen randomly and your goal is to shoot all the x's (click them lol).
so far i have the function that draws the screen, draws the enemys randomly.
i just need to write a function to see if the person hit or missed (when trying to "shoot" the enemy's)
so i know i have to use get cursor pos, and have to compare it to see if there is an enemy where the cursor is then check to see if the person clicked (i know the key codes)
so i was just wondering if some one could give me som insight on how to do that.
p.s im making it in a console window lol, so no win32 bs.
thanks in advance,