Showing posts with label contest. Show all posts
Showing posts with label contest. Show all posts

Tuesday, September 1, 2015

League of Legends API Challenge Entry - PowerSpike

On Monday, August 31st, I could enter no more code.  It was done, complete, or as much as it could be with the time invested.  I had finished my entry for the Riot Games, API Challenge #2.  I had created and submitted PowerSpike.

The API Challenge I took part in was to create a web application that referenced data sets from before and after a massive itemization change that Riot made to their game, League of Legends.  When I read the requirements, it sparked an idea.  What DID the data look like for champions as they got kills throughout the game?  How many kills in each minute of a game, does a particular champion get on average, and how did those item changes affect that?

And so I set out to satisfy that curiosity.  I began work on an application called PowerSpike, using NodeJS to serve up a web server, as well as run the parser which would collect the data.

Those two parts contain much of the application code.  

The Riot API Parser

First, the parser runs through each match, pulling down the data from the API and reading in the kill data for various champions in each match.  I chose to use the four data sets for the North American data, since those are the servers I play on and I wanted to limit the amount of data to specific regions.

When the parser starts up, it checks each of the matches in the riot test data files against a list of match IDs that have been parsed already and if they haven't been parsed already, it queues them up to be run.  Then it gets the data, grabs the kill times for each champion and stores that data in MongoDB as kills per each minute.

It does this slowly, waiting between each request so we don't hit rate limits by the API.

The Web Server & Client

The other half of the application is the web server which exposes a few endpoints for data retrieval from MongoDB, as well as the client static pages, which display the data in line charts over time throughout a game.

Chart.JS is the library for displaying data that I used and it's pretty good at the basics.  Each of the four data sets gets compared to one another.  I also modified the chart to allow the user to toggle datasets with the legend as well, since the basic UI can be cluttered.

There are some very interesting data points for a few champions as well.  For example, Ahri gained a significant boost in early game kills for normals after the patch.  This could be due to the much earlier Needlessly Large Rod that players could now purchase at an earlier time.

But either way, the data points are pretty interesting. and there are a few champions like Kayle and Teemo that have some pretty interesting data to look at.

Hosting

I decided to host the project on a web server, so I spun up a new Digital Ocean droplet and purchased powerspike.xyz at NameCheap.com for 1 dollar for the first year.  I highly recommend Digital Ocean as I run many of my projects off their boxes.  You get full control of the VPS and it's great for being able to do all sorts of interesting projects.


It was a pretty fun challenge, and it's now in review for the next month, so we'll see how it goes!

You can view the application at:


And the full source code is at my GitHub:


Feel free to check it out and let me know what you think!

Cheers,
Jason C.

Monday, January 28, 2013

[GMC Jam #9] SBX:Invasion - Entry 3 - Completed

SBX:Invasion:

  Well the entry is submitted on the contest entry page, and I got the first five waves of the game done.

  It's just a short demo, maybe 10 minutes or so, but it'll work for now.

  Here is the MediaFire Download:
http://www.mediafire.com/download.php?bp1l7u6i1pblg8v
  And here is the Sandbox Page:
http://sandbox.yoyogames.com/games/211944-gmcjam9----sbx-invasion

There isn't any sound in the game, and there are lots of things I want to add, but for now it'll give you a taste of things to come.

Today I woke up a bit late but I spent the last five hours getting the game ready for submission.  I spent the last hour before submitting it balancing resource management and acquisition from enemy drops.  There is a small random factor in how much you will overall get from drops, but I think I narrowed it down so that you shouldn't have so many resources the game is a joke, but you aren't resource starved all the time.

Things I still want to add:- More Stuff!  More Turrets, Generators, Walls and Buildings
- Interaction with Buildings (i.e. Be able to build more Miners from 1 building, etc)
- Explosion Effects
- Pause Menu - including cost descriptions of the basic items when you pause.
- Add costs to the Hud when items are selected (somewhere)
- More Items (other than the Build Item)  such as an item destroyer, an extra weapon, speed boost, other things to help assist you.
- A MiniMap (with enemy locations, ore locations, base and turret locations on it)
- More Levels!  With varying locations of portals and the base, limited resources and tougher enemies.
  note:  I might include more items in later levels too and keep the starting items for the first level limited.

Well, try out the demo and let me know what you guys think!

Cheers
~WakeskaterX~

Sunday, January 27, 2013

[GMC Jam #9] SBX:Invasion Update 2

SBX: Invasion:

  So far things are going well.  I've had issues with views and had some bugs in the inventory system but at least for now I ironed out most of the bugs.  The player side groundwork is nearly complete, I need to add functionality to Turrets and Buildings and I'll need some way for the player to click on buildings and use the assets they provide.  (Such as making extra miners for the mining station, etc etc)

  The biggest thing that I probably won't get done before the competition is over is:  More information.  As an RTSish Tower Defense game, I know the player will want more information but coding that in with the type of view system Game Maker has takes some time.

  I think I will add a pause screen that shows the costs of items and gives information when you pause so that players can look at that if they need a reference.  Also there is the game help file with F1, but i know for the Jams not a whole lot of people read that.

  Well I have some screen shots!  Here you will see the two different modes (short and long flight modes) as well as the engine particle system and the GUI.  Two of the items are the Turret, and the Generator which powers turrets.  (This functionality still needs to be added in).





  The goal for today is to finish the core elements of game play so that tomorrow I can work on the wave system and start tuning costs/balancing enemies and defensive structures.

  The demo for the GMC Jam will be missing some ideas I have for the game as well, but they'll take a bit too long to implement so (like Player HP) they are canned for now.

Cheers!

~WakeskaterX~
 

Saturday, January 26, 2013

[GMC Jam #9] SBX:Invasion

SBX: Invasion:

  I decided last minute to participate in the GMC Game Jam #9 and my entry is SBX: Invasion.  It's going to be a base defense game and I have spent the past 8 hours tonight (until 6am) programming some of the core features and designing new art assets.

  The game will feature a new ship modeled after the 3d model I made earlier.  Here is a little sample:


  So far I have the auto resolution for the screen size working ( i think ), I have programmed the initial stages of the building functions, I have got some zoom features for the view port to give better versatility and range on looking around, and a bunch of other small things I have got done so far (Like a particle system for the boosters)

The big things left are:  Enemy AI, Base System and graphics for all the items available to build, A Wave system to sent out enemies periodically and the GUI.

Some other things to note:  The Ship has 2 modes:  Long and short range, the graphic changes for the ship on each one and your maneuverability changes as well.

The contest ends Monday at 5PM so you can expect a working demo by then.  

I'm now completely and utterly exhausted and need to sleep some, but tomorrow I hope to get another large chunk of the game done.  

Kind of a last minute decision to join the Jam, but I had the weekend off so:  Why the heck not?

Also the Topic for the Jam is:  Science gone Wrong
and the handicap is:  You cant use any humans or humanoids in the game

So I'll leave out the characters from SBX2 and focus on game play and make a little tutorial or intro scene to explain the controls and the game.

Time to crash,

Peace,

WakeskaterX

 

Tuesday, November 27, 2012

[Design] Nanowrimo End, Starbound Hat Contest

Design: 
  Well NaNoWriMo is coming to a close this Friday and I am at 47,000 words!  I was at 30,000 before the weekend and had a power weekend and wrote 17,000.  My main story is pretty much finished and I just need to write the conclusion / epilogue section and add some intermittent chapters to beef up the story a bit.

  Also I entered in a hat-design contest for Starbound.  If you haven't heard of Starbound it's like Terraria in space and you can check it out here:  http://playstarbound.com/

  Here are some of the hats I designed, and I was bored so I made a bunch of them.




Entry:
The Red Fang Helmet:

Other Hats:
The Crown of Flames Helmet:


The Bubble:


The Blood Demon Mask:


The Twisted Mind Mask:




  I'll probably make some more, but I enjoy simple pixel art like this.  After this month I'll be working to review and edit Un-alive, my novel and hopefully I'll be able to publish it!


Thanks for reading,
~WakeskaterX~





  

Saturday, October 13, 2012

[Contest] League of Legends #IAMRIVEN Twitter contest

Contest:

So the contest is posted here:  http://na.leagueoflegends.com/board/showthread.php?t=2669362

But basically you have to send in a picture of you posing in the Championship Riven pose over twitter and hashtag #IAMRIVEN as well as be a follower of @LeagueOfLegends.

So here is the championship riven splash art you are supposed to mimic:


And HERE... is me looking retarded while mimicking the pose:


Ah well It was a fun thing to do right before I pass out for the entirety of my day in preparation for my next 12 hour shift tonight.  Hey maybe I'll win a championship riven skin!  And maybe not... I can always hope. 

Anyway, just thought I'd share that.

Cheers!

~WakeskaterX~

Tuesday, August 21, 2012

[Design] League of Legends Comic Contest

Comic Contest:

Well I may be no artist, but I decided to make a submission to the League of Legends Comic Contest found here:

http://na.leagueoflegends.com/board/showthread.php?p=27788393

I did the drawing in pen, sharpie marker and colored pencil, then added some effects in Paint.NET.

I'm not skilled enough to do it all in Paint.NET/Photoshop without spending weeks examining pixel by pixel  (this is why i like pixel art better)  so that's why it's of questionable quality.

Oh well, whether or not I win doesn't matter much, but I had fun making it :).

Here is  my comic:

As you can see, there are surely many other artists who exceed me in ability.

But maybe it'll cause a chuckle.


Well that's it for now, I got  myself a C# Book and have been studying up on C# to hone my programming ability.  I'll probably end up using C# with my next project, which I have started planning, which will be developed in Unity3d.

Cheers,
~WakeskaterX~