Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17261 Discussions

Hearts Card Game in Verilog

Altera_Forum
Honored Contributor II
1,671 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
791 Views

How's about starting with a simpler project? 

Since you say you have a limited knowledge and if you even wonder if this is possible, I'd recommend some hdl study and practice before starting any serious project. 

Try browsing some sample code in order to better understand what you can easily do and what not.
0 Kudos
Reply