# Eralp

Member

215

142 Neutral

• Rank
Member
1. ## Aurum Game

I liked this http://img5.imageshack.us/img5/9692/zrqb.jpg over this http://imageshack.us/a/img109/7428/i5ys.jpg   I'm not an artist but I feel like the second-type started to look old and 'cheaper'
2. ## Algorithm Rewrite Bug?

I am reading the paper "An enhanced recursive frequency splitting broadcasting algorithm for near video-on-demand services" written by Yu-Wei Chen.   There is something which confused me. Here is the algorithm explained as in the paper. And following is the algorithm I wrote in Python. The thing is my algorithm outputs different integers than it is given in the paper as a table. I highly doubt that there is an error or bug in a scientific paper but I can't seem to find the reason. I wanted to get a second opinion before contacting the author.       import math   c = 2 k = 3   subChannelCount = int(math.floor(math.sqrt(c))) POOL = []   class SlotSequence:   ChannelNumber = 0   p = 0   q = 0   for i in range(k):     for subChannel in range(subChannelCount):         SS = SlotSequence()         SS.ChannelNumber = i         SS.p = subChannel         SS.q = subChannelCount         POOL.append(SS)   j = c   while(len(POOL) > 0):     minMod = 1000000000     minModIndex = -1     for idx,SS in enumerate(POOL):         if SS.q <= j:             if (j % SS.q) < minMod:                 minMod = j % SS.q                 minModIndex = idx                      SS = POOL.pop(minModIndex)     alpha = int(math.floor(j/SS.q))          for x in range(1,alpha):         splitSS = SlotSequence()         splitSS.ChannelNumber = SS.ChannelNumber         splitSS.p = SS.p+x*SS.q         splitSS.q = alpha*SS.q         POOL.append(splitSS)     j = j + 1      print j-c
3. ## Sci-fi and Cartoony look

Hello I have always been a medieval guy and I am kind of away from sci-fi genre,   I also love cartoony graphics, my question is directed to the people who like and play sci-fi games.   How do sci-fi and cartoony graphics stand together? For a 3d iOS game do you think graphics and models should be more realistic or more cartoony?   I know there are much more parameters for this kind of decision but I want to learn the general idea of what sci-fi players like and hate,maybe?
4. ## Rephrase my project description

Hello, I am a college student and I am at the process of writing my resume. There are two projects I want to list on my resume but the assistant didn't quite like the way I explained them in my first attempt. Can you help me with rephrasing them better? Project 1: Design a cross-platform C library which allows inter-process synchronization easily, over network as well as on the same computer. Servers have the ability to o ffer their primitive variables for subscription and clients could request all the subscriptions from the servers and subscribe to the variables they want. There is also a unique daemon which keeps track of all the servers on the network so a client can connect to a static daemon and request all servers' information currently serving. I wanted to explain it a little bit but apparently it sounds too confusing and maybe detailed to put on a resume ^.^
5. ## Game based on real-world time

I wouldn't think simulating something in-game will take so much time that the user thinks the game crashed. I am not talking about 3d graphics simulations etc, I am only talking about the decision AI for example in sims. Your simulation method shouldn't play sounds or show any graphics. You need to seperate those things based on which type of simulation you are making. If you extract user interface like sounds and graphics from your simulation method, I doubt it will take any longer than an average load time to simulate years.
6. ## Chess AI with Neural Networks

It was this link: http://www.chesscirc...RY-FOR-OCTAVIUS I also found an extra link which claims that his NN may/can learn valid moves, but I couldn't compile it yet because it is written in vb6 back in 2001. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=22202&lngWId=1 I mean, were people trying this in early 2000s but they gave up?
7. ## Chess AI with Neural Networks

So are you pointing that the man I read about was not telling the truth? Since my experience with AI is probably nowhere near yours I thought a pure NN AI could play chess with right training. It feels so intuitive. There has to be a set-up which makes this possible but I am not sure if that is feasible or not.
8. ## Chess AI with Neural Networks

If you would code a chess AI with NN how would you format the input and the output? And how many hidden layers would you use? Each tile can contain 13 type of piece(Empty, 6 white,6 black) so one tile can be represented with 4 bits and entire board with 64*4=256 bits. So should I make the input layer 256 nodes? But I am not sure what whould give the best performance, I could use one-hot encoding where each tile is represented with 13 bits and only one of them would be 1. And about the output I am planning to represent moves like e2->e4 meaning the piece on e2 moved to e4. Which can be expressed in 12 bits, 3 for sourcerow, sourcecolumn, destrow, destcolumn. Where can I get more insight about this? For example this project has some creative representations, but it is only handling specific pieces and specific number of them, so it is not generic enough to represent a full game. http://www.slideshare.net/piuprabhu/chess-end-games-using-neural-networks-presentation I know NNs are not proper for this kind of game but my aim is to create something that can make at least valid moves, and I read about a man who is beaten by his NN AI in chess, so I'd like to see where this goes too. And do you have any advice on which library to use with C#?

10. ## Neural Networks and Genetic Algorithms

Hello, I am trying to create a very basic evolution simulation but there are few things I didn't understand clearly. I am creating "worms" and "mushrooms" and putting them into my virtual world, and at each frame I give the coordinates of the nearest mushroom to every worm and thus they update their direction and location properly. So the input to my "worms" are 4 doubles, the nearest mushrooms x and y coordinates and it's own x and y coordinates, the best solution would be to chose direction as atan2 function with parameters x2-x1 and y2-y1, so in bare bones I am trying to teach my neural network how to calculate atan2 function. I am using NeuronDotNet in C# but I don't know if these things are common in NN libraries since this is the first I am using. I created a LinearLayer as input layer and sigmoid layers for hidden and output layers. input has 4 neurons, output has 1 neuron these are fixed(I guess), I experimented with hidden layer assigning 1,2 and 3 neurons but I couldn't spot a big difference. So my questions are would it be more successful if I decreased input neurons to 2 and give the difference pair as input(since atan2 function needs these two) ? But I assume no matter what, after training my NN, it should be able to understand the relation between those "pairs". Also how can I decide which type of layer I should be using? The direction is between 0 and 2*pi so I assumed using sigmoid layer and multiplying the output with 2*pi will do the job. However linear layers are giving better results strangely(or expectedly?) About the genetic algorithm part I first randomly assign weights to all neurons but I couldn't find in the documentation about the range of the weight and bias values. Should I assign unity values so far I've been assigning between -20 and +20 but everytime I test a random chromosome it is either giving me a value very close to 0 or very close to 1. I mean is it because the range I use or is it just VERY likely to get a sigmoid output that is very "thin" with random weights. Thank you all for reading

12. ## UI Design + Sprites for an online poker game

Hello, I have been developing an online poker game with javascript frontend, and now I am in need of sprites and someone who can make interface designs too would save me time. I tried to google for game design companies which offer 2d graphics assets services but I only could find free assets, those are no help to me So I'd like to ask you where can I order and buy graphics like this? A company is preferred but it's not a must. I am not sure if this is the appropriate forum but you should be the ones who know this best I guess. Another thing is how much would it cost roughly to create all the graphics of a poker game from scratch? Or better said with \$400 what would be the quality like compared to facebook poker games ?

I guess it'd be better if you provide more information because it depends how complicated the games are, how well the server program is coded, and of how many players one instance of a game you speak of consists. i.e. does server need to calculate real time 3d physics? or water physics etc. my 2 cents without too much experience if the game does not require server to calculate expensive things or game instances don't take 50 players, any computer/server you buy with todays specs should be able to handle it easily.
14. ## Online poker game

Thanks for the feedback, I'll keep in mind what you said about legal issues.
15. ## Online poker game

Thanks for the information How about storing nearly everything in Application[] map? Can I adjust their lifetime if I buy a regular webhosting?(not dedicated server) or can I refresh the variables so that they are not lost? What are the drawbacks of this method,or is it the worst thing I can do to my hosting ^^ because I know they are not created to be used like that. I am talking about maximum 1000 concurrent users, which makes approx 200 games, 100 kb per game should be enough and that makes roughly 20 mb space. I don't have scalability in my mind, I hope I won't regret that