Need help with how to get started

im trying to make a game like “street crimes: gang wars” from a gta arcade game but I have no idea where to start or how to go about coding a character that leaves a colored line to then claim a block like the picture below from the game