Skip to content

Instantly share code, notes, and snippets.

View jakazzy's full-sized avatar
🔥
fire

Jakazzy jakazzy

🔥
fire
  • Ghana
View GitHub Profile
@jakazzy
jakazzy / dart-classes.dart
Created October 23, 2020 21:10
Classes in dart
void main() {
var volume = Cylinder.cylinderVolume(5, 7);
var surfaceAreaTotal = Cylinder.totalSurfaceArea(5, 7);
var surfaceAreaCurved = Cylinder.curvedSurfaceArea(5,7);
print("The volume of the cylinder is ${volume}");
print("The Total surface area of the cylinder is ${surfaceAreaTotal}");
print("The curved surface area of the cylinder is ${surfaceAreaCurved}");
}
@jakazzy
jakazzy / main.dart
Last active October 19, 2020 04:21
Sample DSA in dart
void main() {
// 1. Loop through a list of numbers and print out the square of the numbers
List ages = [6, 7, 5, 3];
for (int i = 0; i < ages.length; i++) {
print( ages[i] * ages[i]);
}
// 2. Use a for loop to print out all the letters in your name
@jakazzy
jakazzy / README.md
Created March 20, 2020 03:18
A simple battleship game

Battleship Game

Tier: A simple Console game

Battleship is a fun game between two opponents. Your opponent's ship is hidden, guess the position(row and column) of your opponent's ship.
If your guessis right, you destroy your opponent's ship. Gain points if you are right in detecting the position of the ship and lose points when you are wrong.

Take three turns each with another player in determining the ship's location and see who wins in the guessing game

@jakazzy
jakazzy / App.js
Created September 17, 2019 05:38
Simple Login Page with React
import React from 'react';
import './App.css';
import Login from './pages/Login'
function App() {
return (
<div className="App">
<Login/>
</div>
);
}
@jakazzy
jakazzy / README-Template.md
Created December 14, 2018 15:11 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites