To play as cowboy use WASD and h to shoot. To play as commie use arrow keys and L to shoot. Each player has 5 health, when one player's health gets to zero the game ends.
This is the finished version of the game, maybe another version will be made with a different setting/characters. Thanks to cooltooler for helping with this. He added the characters being able to walk and some other features. Thanks to my friends who supported this wonderful idea and helped me make it a reality.