Skip to content

Instantly share code, notes, and snippets.

'use strict';
import React, { Component } from 'react'
import {
StyleSheet,
Text,
TextInput,
View,
TouchableHighlight,
ActivityIndicator,
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
def hit(all_cards)
card_array = ["third", "fouth", "fifth"]
card_array.each do |element|
element_card = draw
if player == "player1"
puts "\nPlayer 1's #{element} card is #{element_card}"
else
puts "\nPlayer 2's #{element} card is #{element_card}"
end