Altera_Forum
Honored Contributor
11 years agoHearts Card Game in Verilog
Hello Everyone,
i am new to verilog, and i have to build something for my class project. one of my idea which is in my interest is, to make hearts card game . as for my thinking ,i will have : 4 registers (4 players) 3 counters ( turn counter (every bit), round counter (every 4 bit) , game counter(every 13 rounds),) 52 signals or values to be placed randomly in each register. then the 1st turn starts wd register having 2 of clubs in the memory. then for every turn some values to removed from each register. values assigned from 48-52 will each carry some points. 48 value representing (queen of spades) 13 points. 49-52 value representing ( heart shaped cards) each 1 point. every round register with highest value, will start new round. in case, if any register threw value 40 (assigned as 5 of spades) then next register was having 41(assigned as 6 of spades). if next register is not having any value from 35-48, it will randomly get rid of anycard. but if it gets rid of any card holding points. those points should be added to the user who had the highest value card in current round. my knowledge is very limited, i even do not know if making this is possible(for me atleast). any advise will be appreciated. thank you