#this code can work across several different langauges because if statements are basically universal
Explore tagged Tumblr posts
drawing079 · 7 years ago
Photo
Uber here’s your code right here:
// if the time is passed 10pm military time, the current location is a bar, and the interaction time is longer than 5 mins, the following if statement executes.
if (current_time > 22 && location == bar && user_interaction_time > 5.00) {
passenger_drunk = true;
}
There you go that’s it that’s your AI right there that’s literally all it takes, who knew AI was this hard
Tumblr media
That’s not AI.
165 notes · View notes