site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·Guidelines ·FAQ ·Mafiascum FAQ ·Past Games
AuthorAll Replies


drew
Automatic
Premium
join:2002-07-10
Port Orchard, WA
kudos:6

reply to DrModem

Re: Mafia Vote Counter

I've got the rough model for a one-to-many relationship between player entity & vote entity.

I have not built in what a vote means and how many votes it takes to lynch someone. My current plan is to support hated/beloved players.

Both multi-vote & hated/beloved are de-coupled from the player role as I think it would be far too limiting, especially for CG-style.

One of the primary goals here is to make the set-up of a standard game (C9, F11, AITP, Dethy) significantly easier on the moderator. Taking that ease of set-up in mind, I want voting to be easier as well, especially with multiple record updates in one update. I don't like how long it takes to process all the votes in the current web app. Too many postbacks.

There is a lot more work to be done. I am also thinking about allowing multi-mod support (it's currently a one-to-one relationship between game and mod, but should be relatively easy to turn it to one-to-many). The challenge there would be creating an easy way to add a mod without being required to know their email address. I may add a "public token" type thing that you can share with people to allow them to add you to the game as a mod. I don't want to waste time with a send request -> receive request -> approve/deny request workflow.
--
flickr | 'Cause I've been waiting, all my life just waiting
For you to shine, shine your light on me


drew
Automatic
Premium
join:2002-07-10
Port Orchard, WA
kudos:6

Another thing that may not be readily apparent, but when you create a game of a specified type- you are only presented with roles available for that game type. This is why you can create a C9 game and only have the four vanilla roles, but a F11 has the four plus mafia RB. This is actually really cool but is NOT dynamic - I have to set up the enums with an attribute class.
--
flickr | 'Cause I've been waiting, all my life just waiting
For you to shine, shine your light on me


Monday, 20-May 15:21:31 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics