Inspiration

I always liked all types of games, especially those like tag, capture the flag, and hide-and-go-seek. I wanted to make something that I could share with my friends, and something that would help me learn new skills; I have never worked with the google maps API, and I hope to use geo-location applications in the future.

What it does

The app finds your location and plots it on a map, it then randomly generates a flag within at least 50 feet and within 500 feet of your perceived location. On the web page, you can see your location, and the location of the flag. You can update your location as you walk around and see your latitude and longitude change. The objective of the game is to walk to the flag, and update your position, once you do this, you gain a point.

How I built it

If this project were a physical object, it would be held together with duct tape, shoestring, a solitary tear, and hope.

Challenges I ran into

Everything about this project was new to me, but I don't see that as a challenge, that is the nature of anything worth doing.

Accomplishments that I'm proud of

I am very proud of this project, it isn't very advanced, especially compared to other projects, but I learned a lot, and I was glad to use my programming skills in a real life situation. I liked the challenge, and every little bit of process made me happy, and renewed my desire to continue, I am excited for the future.

What I learned

I didn't know anything about javascript, before I started. Throughout this project, I had to constantly do research, try, and retry, and retry to get my code to work. I also did not know anything about the google maps API, and admittedly, I still don't know much. I also had to study latitude and longitude again, to manipulate the data returned from the API.

What's next for Capture the Flag Game

Right now, the game only has one flag, and is for a single player. I would like to make more flags available, allow multiple players to play with the same flags, and save the points and stats of the player.

Share this project:

Updates