Giter VIP home page Giter VIP logo

beb-grupp3's Introduction

BEB-Grupp3


Gruppuppgift som är lagom kul

Live preview: Lagom Roulette

Crypto casinos offer a new and exciting way to gamble online, using cryptocurrencies such as Bitcoin and Ethereum to place bets and play games. These casinos offer fast and secure transactions, anonymity, and the ability to access games from anywhere in the world.

How it works:

At a crypto casino, players can deposit cryptocurrencies into their account and use them to play a wide variety of games, including slots, card games, and dice games. The casino operates using a decentralized platform, which means that it is not subject to the regulations and restrictions of traditional online casinos.

Advantages:

Fast and secure transactions: Cryptocurrencies are transferred directly from player to casino, without the need for intermediaries such as banks or payment processors. This means that transactions are fast and secure, and players can access their funds almost instantly.

Anonymity: Crypto casinos offer players the ability to gamble anonymously, without the need to provide personal information such as their name, address, or credit card details. This ensures that players' privacy is protected and that they can play without worrying about their sensitive data being compromised.

Accessibility: Crypto casinos are accessible from anywhere in the world, as long as the player has an internet connection. This means that players can enjoy their favorite games without being limited by location.

Conclusion:

Crypto casinos offer a unique and exciting way to gamble online, with fast and secure transactions, anonymity, and accessibility. These casinos are poised to become the future of online gambling, offering players a more convenient and secure way to enjoy their favorite games.

Made by:

Felix Holmberg @felle64
Lars Lundin @larsyngvelundin
Mirelle Wallgren aleczks
Oscar Recén Larsson @oscarrecenlarsson
Ellen Lång @EllenLng
Anton Henningsson @SWEanton

beb-grupp3's People

Contributors

larsyngvelundin avatar oscarrecenlarsson avatar felle64 avatar ellenlng avatar amwallgren avatar sweanton avatar

Stargazers

 avatar  avatar  avatar

beb-grupp3's Issues

Create a user class

Variables include, but are not limited to:
-username
-hashed password
-token balance

Create Hash Password function

Create a function that takes a raw text password and hashes it.
To be used when user is registering, and when user logs in.

Input: raw text password as string
Returns: hashed password as string

Can basically copy calculateHash.js from the blockchain part, and edit for this.

Check bet validity function

A function that checks the values we intend to send to the API.

Input: bet, wager

Checks if these variables are numbers, and not negative numbers.
For bet, it also checks if it is "low" "high" "red" "black" "odd" "even" (maybe i missed some)

Returns: true/false

Error Message function

Function that shows an error message on screen.
Could be re-used for all errors, "Invalid login details", "Not enough tokens for bet", "Invalid bet", "Username already exists"

Input: Error message as a string

Takes string and adds it to some HTML for an error message and makes it visible on screen

returns: nothing?

style header

Logo must be centered and not at the top of the header div.
username and password inputs should be on a line after each other and not on top of each other.
header should be static
add users balance in header

Function Save Blockchain to LS

Function that takes the chain and saves it in LocalStorage.

Should probably be it's own file, which is called from chains.js

index.html - Syntax error

Där är ju en massa syntax fel i Index.html
Vem tusan godkände dessa merges????

33 - <body
34 - <h1>Min ändring är viktigast</h1>
35 - <h1>Min ändring är viktigast</h1>
36 - <h1>Min ändring är viktigast</h1>
37 - main
38 -
39 - </body>

fix website colors in scss

Make everything cohesive according to the palette (black, white, green and red)
Make this work in scss
Bonus: Make functioning variables for colors mentioned above.

style footer

put 'stödlinjen.se' in the middle of the line instead of as high as it is now
ex. margin-top

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.