Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,712 members, 7,816,924 topics. Date: Friday, 03 May 2024 at 08:18 PM

You Have A New GF/BF. Code Down You Rules/principles For Him Or Her. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / You Have A New GF/BF. Code Down You Rules/principles For Him Or Her. (854 Views)

10 Website Designing Principles That You Should Follow / What Are The Basic Principles Of Mcafee Antivirus! / Mobile App Design Principles Every Developer Need To Be Aware Of (2) (3) (4)

(1) (Reply)

You Have A New GF/BF. Code Down You Rules/principles For Him Or Her. by badthinds: 8:38am On Jul 06, 2017
Well, todays excercise is just as the topic says. You are just to simulate how your relationship will work. Just for fun.
Psudo codes are accepted.
Guys and Ladies, please show a little kindness in your AI ooo. LOL grin

Oya.
Re: You Have A New GF/BF. Code Down You Rules/principles For Him Or Her. by logicalhumour: 8:56am On Jul 06, 2017
Lol.

Anyway,

//some global variables first
var fu*kups
var goods
var fu*ckups_stack
var goods_stack

class whatNext:
func breakup()
reletionship.end
func reward()
//buy moinmoin for her
func forgive(/
//hmmm...complex

func check(score):
if action is good:
goods+= score
WhatNext.reward()
if action is bad:
f*ckups += score
//balance
if goods > 9:
goods_stack+=1
goods = 0
if fu*kups > 9:
fu*kups_stack +=1
fu*kups = 0

if fu*kup_stack > 3:
WhatNext.breakup

2 Likes 1 Share

Re: You Have A New GF/BF. Code Down You Rules/principles For Him Or Her. by badthinds: 9:13am On Jul 06, 2017
logicalhumour:
Lol.
Anyway,
  //some global variables first
  var fu*kups
  var goods
  var fu*ckups_stack
  var goods_stack
class whatNext: func breakup() reletionship.end func reward() //buy moinmoin for her func forgive(/ //hmmm...complex
func check(score): if action is good: goods+= score WhatNext.reward() if action is bad: f*ckups += score //balance if goods > 9: goods_stack+=1 goods = 0 if fu*kups > 9: fu*kups_stack +=1 fu*kups = 0
if fu*kup_stack > 3: WhatNext.breakup
Lol. Fair enough sha...but from time to time, clear the fuckup stack na grin

1 Like

(1) (Reply)

Im In Urgent Need Of A Web Developer From Warri/benin / Peachtree Software /quickbooks Enterprise Training / Software Testers Interview Questions With Answers-part1

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.