Skip to content

A computer game like Strip Poker written in golang.

Notifications You must be signed in to change notification settings

thegenuinegourav/Poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Poker

A computer game like Strip Poker written in golang. This program uses a deck of cards for studying gambling or probability. Instead of hand coding each card with text string into a map, this will help to create the cards on the fly into a slice and want to shuffle the cards as well.

Features

  1. Deal the card
  2. Shuffle the deck
  3. Save the deck in the file stored on harddisk
  4. Create new deck from the file

Golang Specs

This program is written in golang using OOPs paradigm design. Although, Go doesn't it but Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. The concept of “interface” in Go provides a different approach that we believe is easy to use and in some ways more general. There are also ways to embed types in other types to provide something analogous — but not identical — to subclassing. Moreover, methods in Go are more general than in C++ or Java: they can be defined for any sort of data, even built-in types such as plain, “unboxed” integers. They are not restricted to structs (classes).

About

A computer game like Strip Poker written in golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages