Tejas1510 / Hacking-Scripts

Hacking Scripts contains amazing and awesome scripts written in Python, JavaScript, Java, Nodejs, and more. The main aim of the repository will be to provide utility scripts that might make everyday life easy.
https://hacking-scripts.netlify.app/
240 stars 285 forks source link

Blackjack #770

Open mehabhalodiya opened 3 years ago

mehabhalodiya commented 3 years ago

Description

While building the game, one will explore a few handy Python concepts, such as object-oriented programming using classes and how to manage a game loop.

You have to use Python's random library, which has various functions used in generating randomness. In particular, employ shuffle, which takes any list and returns it in random order, to shuffle our deck of cards.

Initially, you can begin by defining the classes that will be used in order to separate out different aspects of the game of blackjack. You will model three of the components of the game:

Further, create all the list of functions which perform various actions and finally, the game loop!

Aim

One will get proper understanding of OOPS (Object-Oriented Programming System) by implementing this type of script as it contains classes and functions from scratch.

UG-SEP commented 3 years ago

I think so I can create it in c++ in near about 6 to 7 days So assign me

UG-SEP commented 3 years ago

thanks @mehabhalodiya for a great suggestion

mehabhalodiya commented 3 years ago

@UG-SEP Any updates on this?

TheArushiSingh commented 3 years ago

I can create it using Javascript. You can assign it to me.

TheArushiSingh commented 3 years ago

I've started working on it. html and css part is done. Javascript portion might take 2-3 days I'll update once I complete that.

UG-SEP commented 3 years ago

@UG-SEP Any updates on this?

yes it is nearby complete just give me 1 day sorry for the delay but I have started working on the project tomorrow because of creating the project of issue no: #829

mehabhalodiya commented 3 years ago

@UG-SEP you have written the script in C++ ?